#394D9F#394D9F
#394D9F is a dark, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.135 H 269.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #394D9F |
|---|---|
| RGB | rgb(57, 77, 159) |
| HSL | hsl(228, 47%, 42%) |
| HSV | hsv(228, 64%, 62%) |
| CMYK | cmyk(64.2%, 51.6%, 0%, 37.6%) |
| CIE-LAB | lab(35.36, 19.27, -47.02) |
| CIE-LCH | lch(35.36, 50.81, 292.29°) |
| OKLab | oklab(44.99% -0.0002 -0.1347) |
| OKLCH | oklch(44.99% 0.135 269.9) |
| XYZ | xyz(10.5971, 8.6799, 33.9111) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.47
Cobalt (survey)
#1E488F
ΔE00 4.51
Sapphire
#0F52BA
ΔE00 5.22
Blueberry
#464196
ΔE00 5.50
Denim Blue
#3B5B92
ΔE00 5.63
Dusk Blue
#26538D
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394D9F #9F8B39
analogous
#39809F #394D9F #58399F
triadic
#394D9F #9F394D #4D9F39
tetradic
#394D9F #9F3980 #9F8B39 #399F58
square
#394D9F #9F3980 #9F8B39 #399F58
split-complementary
#394D9F #9F5839 #809F39
monochromatic
#192145 #293772 #394D9F #5469C2 #8191D2
Accessibility & contrast
On white
7.67
#394D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#394D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394D9F
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394D9F | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#004F9D
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #394d9f; /* rgb */ color: rgb(57, 77, 159); /* oklch */ color: oklch(45.0% 0.135 269.9);
Tailwind
colors: {
custom: {
50: '#7a7ebc',
500: '#394d9f',
950: '#000000',
},
}SCSS
$custom: #394d9f; $custom-light: #7a7ebc; $custom-dark: #000000;
JSON
{
"hex": "#394d9f",
"rgb": {
"r": 57,
"g": 77,
"b": 159
},
"hsl": {
"h": 228.235,
"s": 47.222,
"l": 42.353
},
"oklch": {
"l": 0.44993,
"c": 0.13475,
"h": 269.9
},
"luminance": 0.08681
}Semantic roles & 50–950 ramp
primary
#394D9F
secondary
#BBAE78
accent
#BD51D7
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0912
muted
#7C7B81