Blue Hour

Customer cases & reviews · Score 86 ·Generated

View JSON

10 color roles

Every color has a defined purpose. Use the buttons on the right to copy it in any format.

Primary primary
Brand color, mapped to the CSS variable --color-primary
#224bb4rgb(34, 75, 180)hsl(223.2, 68.2%, 42%)
Primary hover primaryHover
Hover state: --color-primary-hover
#15317argb(21, 49, 122)hsl(223.4, 70.6%, 28%)
Primary active primaryActive
Pressed state: --color-primary-active
#0b1c47rgb(11, 28, 71)hsl(223, 73.2%, 16.1%)
Text main textMain
Body text: --color-text-main
#232529rgb(35, 37, 41)hsl(220, 7.9%, 14.9%)
Text sub textSub
Secondary text: --color-text-sub
#6a6f7crgb(106, 111, 124)hsl(223.3, 7.8%, 45.1%)
Background bg
Page background: --color-bg
#f9fafargb(249, 250, 250)hsl(180, 9.1%, 97.8%)
Surface surface
Card and panel background: --color-surface
#f4f4f6rgb(244, 244, 246)hsl(240, 10%, 96.1%)
Border border
Dividers and outlines: --color-border
#e3e5e8rgb(227, 229, 232)hsl(216, 9.8%, 90%)
Link link
Link color: --color-link
#122e78rgb(18, 46, 120)hsl(223.5, 73.9%, 27.1%)
Accent accent
Highlight color: --color-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 color sits in the middle of the lightness range, which makes it the most adaptable: both light and dark themes are easy to build on.

Good forThe most versatile lead: technology, finance, tools and enterprise services that need to feel trustworthy.
Use with careIt is so common that it can feel anonymous; support colors and typography have to do the differentiating.
Pairs withDeeper blue for depth and white for openness are the two hardest combinations to get wrong.

Hue family: Blue

What it looks like in a real interface

The same palette rendered across all three platforms — the fastest way to judge whether it works.

Live preview · switch platform
your-site.com×+
https://your-site.com
New

Build your product with this palette

Navigation, buttons, cards and text hierarchy — previewed in one go.

Primary actionLearn more
Card oneSecondary copy, used to check contrast against WCAG.
Card twoAccent color for highlights — keep it a step away from the brand color.
Card threeNeutral text carries body copy, the most frequently used color.

Accessibility contrast check

Calculated to WCAG 2.1. AA is the accessibility baseline, AAA the enhanced level.

Foreground / backgroundRatioBody textLarge text
Body text / page background14.68:1AAAAAA
Body text / card background13.97:1AAAAAA
Brand color / page background7.35:1AAAAAA

Verify this pair in the checker →

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; // Accent

Tailwind 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 color 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 colors 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" } } }