#394CA1#394CA1
#394CA1 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.9% C 0.139 H 270.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #394CA1 |
|---|---|
| RGB | rgb(57, 76, 161) |
| HSL | hsl(229, 48%, 43%) |
| HSV | hsv(229, 65%, 63%) |
| CMYK | cmyk(64.6%, 52.8%, 0%, 36.9%) |
| CIE-LAB | lab(35.22, 20.65, -48.44) |
| CIE-LCH | lch(35.22, 52.66, 293.09°) |
| OKLab | oklab(44.94% 0.001 -0.1389) |
| OKLCH | oklch(44.94% 0.139 270.4) |
| XYZ | xyz(10.7026, 8.6110, 34.8094) |
| Luminance | 0.0861 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.38
Cobalt (survey)
#1E488F
ΔE00 4.75
Blueberry
#464196
ΔE00 5.20
Sapphire
#0F52BA
ΔE00 5.27
Denim Blue
#3B5B92
ΔE00 6.08
Twilight
#4E518B
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394CA1 #A18E39
analogous
#3980A1 #394CA1 #5A39A1
triadic
#394CA1 #A1394C #4CA139
tetradic
#394CA1 #A13980 #A18E39 #39A15A
square
#394CA1 #A13980 #A18E39 #39A15A
split-complementary
#394CA1 #A15A39 #80A139
monochromatic
#192147 #293774 #394CA1 #5569C3 #8291D3
Accessibility & contrast
On white
7.71
#394CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#394CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394CA1
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394CA1 | 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)
#1858A4
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #394ca1; /* rgb */ color: rgb(57, 76, 161); /* oklch */ color: oklch(44.9% 0.139 270.4);
Tailwind
colors: {
custom: {
50: '#7a7dbd',
500: '#394ca1',
950: '#000000',
},
}SCSS
$custom: #394ca1; $custom-light: #7a7dbd; $custom-dark: #000000;
JSON
{
"hex": "#394ca1",
"rgb": {
"r": 57,
"g": 76,
"b": 161
},
"hsl": {
"h": 229.038,
"s": 47.706,
"l": 42.745
},
"oklch": {
"l": 0.44935,
"c": 0.13894,
"h": 270.4
},
"luminance": 0.08612
}Semantic roles & 50–950 ramp
primary
#394CA1
secondary
#BCB079
accent
#BF50D7
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81