#394E99#394E99
#394E99 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.125 H 269.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #394E99 |
|---|---|
| RGB | rgb(57, 78, 153) |
| HSL | hsl(227, 46%, 41%) |
| HSV | hsv(227, 63%, 60%) |
| CMYK | cmyk(62.7%, 49%, 0%, 40%) |
| CIE-LAB | lab(35.24, 16.44, -43.60) |
| CIE-LCH | lch(35.24, 46.59, 290.66°) |
| OKLab | oklab(44.77% -0.0019 -0.1247) |
| OKLCH | oklch(44.77% 0.125 269.1) |
| XYZ | xyz(10.1596, 8.6177, 31.2588) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.06
Cobalt
#0047AB
ΔE00 4.87
Denim Blue
#3B5B92
ΔE00 4.97
Dusk Blue
#26538D
ΔE00 5.14
Twilight
#4E518B
ΔE00 5.37
Sapphire
#0F52BA
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394E99 #998439
analogous
#397E99 #394E99 #543999
triadic
#394E99 #99394E #4E9939
tetradic
#394E99 #99397E #998439 #399954
square
#394E99 #99397E #998439 #399954
split-complementary
#394E99 #995439 #7E9939
monochromatic
#182140 #28376C #394E99 #5169BE #7E8FCF
Accessibility & contrast
On white
7.71
#394E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#394E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394E99
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394E99 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28579C
Deuteranopia (green-blind)
#164F97
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #394e99; /* rgb */ color: rgb(57, 78, 153); /* oklch */ color: oklch(44.8% 0.125 269.1);
Tailwind
colors: {
custom: {
50: '#797fb7',
500: '#394e99',
950: '#000000',
},
}SCSS
$custom: #394e99; $custom-light: #797fb7; $custom-dark: #000000;
JSON
{
"hex": "#394e99",
"rgb": {
"r": 57,
"g": 78,
"b": 153
},
"hsl": {
"h": 226.875,
"s": 45.714,
"l": 41.176
},
"oklch": {
"l": 0.44771,
"c": 0.12468,
"h": 269.1
},
"luminance": 0.08619
}Semantic roles & 50–950 ramp
primary
#394E99
secondary
#B8AA76
accent
#B952D5
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80