#394A9E#394A9E
#394A9E is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.137 H 271.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #394A9E |
|---|---|
| RGB | rgb(57, 74, 158) |
| HSL | hsl(230, 47%, 42%) |
| HSV | hsv(230, 64%, 62%) |
| CMYK | cmyk(63.9%, 53.2%, 0%, 38%) |
| CIE-LAB | lab(34.47, 20.89, -47.85) |
| CIE-LCH | lch(34.47, 52.21, 293.58°) |
| OKLab | oklab(44.3% 0.0028 -0.1372) |
| OKLCH | oklch(44.3% 0.137 271.1) |
| XYZ | xyz(10.3056, 8.2352, 33.3876) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.54
Blueberry
#464196
ΔE00 4.57
Cobalt (survey)
#1E488F
ΔE00 4.68
Sapphire
#0F52BA
ΔE00 5.90
Twilight
#4E518B
ΔE00 5.98
Sapphire (survey)
#2138AB
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394A9E #9E8D39
analogous
#397D9E #394A9E #5B399E
triadic
#394A9E #9E394A #4A9E39
tetradic
#394A9E #9E397D #9E8D39 #399E5B
square
#394A9E #9E397D #9E8D39 #399E5B
split-complementary
#394A9E #9E5B39 #7D9E39
monochromatic
#192044 #293571 #394A9E #5366C1 #808ED1
Accessibility & contrast
On white
7.93
#394A9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#394A9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394A9E
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394A9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394A9E | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1656A1
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #394a9e; /* rgb */ color: rgb(57, 74, 158); /* oklch */ color: oklch(44.3% 0.137 271.1);
Tailwind
colors: {
custom: {
50: '#7a7cbb',
500: '#394a9e',
950: '#000000',
},
}SCSS
$custom: #394a9e; $custom-light: #7a7cbb; $custom-dark: #000000;
JSON
{
"hex": "#394a9e",
"rgb": {
"r": 57,
"g": 74,
"b": 158
},
"hsl": {
"h": 229.901,
"s": 46.977,
"l": 42.157
},
"oklch": {
"l": 0.44297,
"c": 0.13728,
"h": 271.1
},
"luminance": 0.08236
}Semantic roles & 50–950 ramp
primary
#394A9E
secondary
#BBB078
accent
#C051D7
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0912
muted
#7C7B81