#394CA9#394CA9
#394CA9 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.150 H 270.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #394CA9 |
|---|---|
| RGB | rgb(57, 76, 169) |
| HSL | hsl(230, 50%, 44%) |
| HSV | hsv(230, 66%, 66%) |
| CMYK | cmyk(66.3%, 55%, 0%, 33.7%) |
| CIE-LAB | lab(35.80, 23.55, -52.30) |
| CIE-LCH | lch(35.80, 57.36, 294.24°) |
| OKLab | oklab(45.55% 0.0016 -0.1503) |
| OKLCH | oklch(45.55% 0.15 270.6) |
| XYZ | xyz(11.4308, 8.9023, 38.6443) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.29
Sapphire
#0F52BA
ΔE00 4.85
Blue Blue
#2242C7
ΔE00 5.19
Blueberry
#464196
ΔE00 5.46
Cobalt (survey)
#1E488F
ΔE00 5.55
Ocean Blue
#4F42B5
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394CA9 #A99639
analogous
#3984A9 #394CA9 #5E39A9
triadic
#394CA9 #A9394C #4CA939
tetradic
#394CA9 #A93984 #A99639 #39A95E
square
#394CA9 #A93984 #A99639 #39A95E
split-complementary
#394CA9 #A95E39 #84A939
monochromatic
#1A234D #2A377B #394CA9 #586BC7 #8694D6
Accessibility & contrast
On white
7.55
#394CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#394CA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394CA9
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394CA9 | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0359AC
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #394ca9; /* rgb */ color: rgb(57, 76, 169); /* oklch */ color: oklch(45.5% 0.150 270.6);
Tailwind
colors: {
custom: {
50: '#7c7dc3',
500: '#394ca9',
950: '#000000',
},
}SCSS
$custom: #394ca9; $custom-light: #7c7dc3; $custom-dark: #000000;
JSON
{
"hex": "#394ca9",
"rgb": {
"r": 57,
"g": 76,
"b": 169
},
"hsl": {
"h": 229.821,
"s": 49.558,
"l": 44.314
},
"oklch": {
"l": 0.45546,
"c": 0.15032,
"h": 270.6
},
"luminance": 0.08903
}Semantic roles & 50–950 ramp
primary
#394CA9
secondary
#C0B57E
accent
#C24FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82