#394F97#394F97
#394F97 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.8% C 0.120 H 268.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #394F97 |
|---|---|
| RGB | rgb(57, 79, 151) |
| HSL | hsl(226, 45%, 41%) |
| HSV | hsv(226, 62%, 59%) |
| CMYK | cmyk(62.3%, 47.7%, 0%, 40.8%) |
| CIE-LAB | lab(35.39, 15.06, -42.14) |
| CIE-LCH | lch(35.39, 44.75, 289.66°) |
| OKLab | oklab(44.85% -0.0033 -0.1204) |
| OKLCH | oklch(44.85% 0.12 268.4) |
| XYZ | xyz(10.0673, 8.6953, 30.4200) |
| Luminance | 0.0870 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.98
Denim Blue
#3B5B92
ΔE00 4.53
Dusk Blue
#26538D
ΔE00 4.76
Cobalt
#0047AB
ΔE00 5.09
Twilight
#4E518B
ΔE00 5.26
Dusky Blue
#475F94
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394F97 #978139
analogous
#397E97 #394F97 #523997
triadic
#394F97 #97394F #4F9739
tetradic
#394F97 #97397E #978139 #399752
square
#394F97 #97397E #978139 #399752
split-complementary
#394F97 #975239 #7E9739
monochromatic
#17213E #28386B #394F97 #506ABD #7D90CE
Accessibility & contrast
On white
7.67
#394F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#394F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394F97
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394F97 | 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)
#2C589A
Deuteranopia (green-blind)
#1C4F95
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #394f97; /* rgb */ color: rgb(57, 79, 151); /* oklch */ color: oklch(44.8% 0.120 268.4);
Tailwind
colors: {
custom: {
50: '#7880b6',
500: '#394f97',
950: '#000000',
},
}SCSS
$custom: #394f97; $custom-light: #7880b6; $custom-dark: #000000;
JSON
{
"hex": "#394f97",
"rgb": {
"r": 57,
"g": 79,
"b": 151
},
"hsl": {
"h": 225.957,
"s": 45.192,
"l": 40.784
},
"oklch": {
"l": 0.44846,
"c": 0.12042,
"h": 268.4
},
"luminance": 0.08696
}Semantic roles & 50–950 ramp
primary
#394F97
secondary
#B7A875
accent
#B653D5
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80