10 colour roles
Every colour has a defined purpose. Use the buttons on the right to copy it in any format.
primary#224bb4rgb(34, 75, 180)hsl(223.2, 68.2%, 42%)primaryHover#15317argb(21, 49, 122)hsl(223.4, 70.6%, 28%)primaryActive#0b1c47rgb(11, 28, 71)hsl(223, 73.2%, 16.1%)textMain#232529rgb(35, 37, 41)hsl(220, 7.9%, 14.9%)textSub#6a6f7crgb(106, 111, 124)hsl(223.3, 7.8%, 45.1%)bg#f9fafargb(249, 250, 250)hsl(180, 9.1%, 97.8%)surface#f4f4f6rgb(244, 244, 246)hsl(240, 10%, 96.1%)border#e3e5e8rgb(227, 229, 232)hsl(216, 9.8%, 90%)link#122e78rgb(18, 46, 120)hsl(223.5, 73.9%, 27.1%)accent#ef582ergb(239, 88, 46)hsl(13.1, 85.8%, 55.9%)How to use it
Written by hand for the hue family and lightness of this palette, not assembled from a template.
The lead colour sits in the middle of the lightness range, which makes it the most adaptable: both light and dark themes are easy to build on.
What it looks like in a real interface
The same palette rendered across all three platforms — the fastest way to judge whether it works.
Build your product with this palette
Navigation, buttons, cards and text hierarchy — previewed in one go.
Primary actionLearn moreAccessibility contrast check
Calculated to WCAG 2.1. AA is the accessibility baseline, AAA the enhanced level.
| Foreground / background | Ratio | Body text | Large text |
|---|---|---|---|
| Body text / page background | 14.68:1 | AAA | AAA |
| Body text / card background | 13.97:1 | AAA | AAA |
| Brand colour / page background | 7.35:1 | AAA | AAA |
Export to your project
Four formats, ready to paste. Or fetch them by URL from your tooling or AI agent.
CSS variables
:root {
--color-primary: #224bb4; /* Primary */
--color-primaryHover: #15317a; /* Primary hover */
--color-primaryActive: #0b1c47; /* Primary active */
--color-textMain: #232529; /* Text main */
--color-textSub: #6a6f7c; /* Text sub */
--color-bg: #f9fafa; /* Background */
--color-surface: #f4f4f6; /* Surface */
--color-border: #e3e5e8; /* Border */
--color-link: #122e78; /* Link */
--color-accent: #ef582e; /* Accent */
}SCSS variables
$color-primary: #224bb4; // Primary
$color-primaryHover: #15317a; // Primary hover
$color-primaryActive: #0b1c47; // Primary active
$color-textMain: #232529; // Text main
$color-textSub: #6a6f7c; // Text sub
$color-bg: #f9fafa; // Background
$color-surface: #f4f4f6; // Surface
$color-border: #e3e5e8; // Border
$color-link: #122e78; // Link
$color-accent: #ef582e; // AccentTailwind config
// tailwind.config.js: Blue Hour
module.exports = {
theme: {
extend: {
colors: {
'primary': '#224bb4',
'primaryHover': '#15317a',
'primaryActive': '#0b1c47',
'textMain': '#232529',
'textSub': '#6a6f7c',
'bg': '#f9fafa',
'surface': '#f4f4f6',
'border': '#e3e5e8',
'link': '#122e78',
'accent': '#ef582e',
},
},
},
};Machine-readable JSON
{
"name": "Blue Hour",
"platform": "web",
"tags": [
"Morning mist",
"Blue"
],
"advice": {
"family": "Blue",
"depth": "The lead colour sits in the middle of the lightness range, which makes it the most adaptable: both light and dark themes are easy to build on.",
"muted": null,
"suit": "The most versatile lead: technology, finance, tools and enterprise services that need to feel trustworthy.",
"avoid": "It is so common that it can feel anonymous; support colours and typography have to do the differentiating.",
"pair": "Deeper blue for depth and white for openness are the two hardest combinations to get wrong."
},
"roles": {
"primary": "#224bb4",
"primaryHover": "#15317a",
"primaryActive": "#0b1c47",
"textMain": "#232529",
"textSub": "#6a6f7c",
"bg": "#f9fafa",
"surface": "#f4f4f6",
"border": "#e3e5e8",
"link": "#122e78",
"accent": "#ef582e"
},
"contrast": {
"textOnBg": {
"ratio": 14.68,
"level": "AAA"
},
"primaryOnBg": {
"ratio": 7.35,
"level": "AAA"
},
"textOnSurface": {
"ratio": 13.97,
"level": "AAA"
}
}
}