#394EA6#394EA6
#394EA6 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.143 H 269.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #394EA6 |
|---|---|
| RGB | rgb(57, 78, 166) |
| HSL | hsl(228, 49%, 44%) |
| HSV | hsv(228, 66%, 65%) |
| CMYK | cmyk(65.7%, 53%, 0%, 34.9%) |
| CIE-LAB | lab(36.12, 21.15, -49.98) |
| CIE-LCH | lch(36.12, 54.27, 292.93°) |
| OKLab | oklab(45.72% -0.0005 -0.1435) |
| OKLCH | oklch(45.72% 0.143 269.8) |
| XYZ | xyz(11.2923, 9.0708, 37.2247) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.33
Sapphire
#0F52BA
ΔE00 4.57
Cobalt (survey)
#1E488F
ΔE00 5.14
Denim Blue
#3B5B92
ΔE00 5.77
Blueberry
#464196
ΔE00 5.91
Blue Blue
#2242C7
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394EA6 #A69139
analogous
#3984A6 #394EA6 #5A39A6
triadic
#394EA6 #A6394E #4EA639
tetradic
#394EA6 #A63984 #A69139 #39A65A
square
#394EA6 #A63984 #A69139 #39A65A
split-complementary
#394EA6 #A65A39 #84A639
monochromatic
#1A234B #293978 #394EA6 #576CC5 #8494D5
Accessibility & contrast
On white
7.46
#394EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#394EA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394EA6
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394EA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394EA6 | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#175AA9
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #394ea6; /* rgb */ color: rgb(57, 78, 166); /* oklch */ color: oklch(45.7% 0.143 269.8);
Tailwind
colors: {
custom: {
50: '#7b7fc1',
500: '#394ea6',
950: '#000000',
},
}SCSS
$custom: #394ea6; $custom-light: #7b7fc1; $custom-dark: #000000;
JSON
{
"hex": "#394ea6",
"rgb": {
"r": 57,
"g": 78,
"b": 166
},
"hsl": {
"h": 228.44,
"s": 48.879,
"l": 43.725
},
"oklch": {
"l": 0.45723,
"c": 0.14347,
"h": 269.8
},
"luminance": 0.09072
}Semantic roles & 50–950 ramp
primary
#394EA6
secondary
#BFB27C
accent
#BE4FD8
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0A12
muted
#7C7C81