#394CA6#394CA6
#394CA6 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.146 H 270.5°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #394CA6 |
|---|---|
| RGB | rgb(57, 76, 166) |
| HSL | hsl(230, 49%, 44%) |
| HSV | hsv(230, 66%, 65%) |
| CMYK | cmyk(65.7%, 54.2%, 0%, 34.9%) |
| CIE-LAB | lab(35.58, 22.46, -50.86) |
| CIE-LCH | lch(35.58, 55.60, 293.83°) |
| OKLab | oklab(45.31% 0.0014 -0.1461) |
| OKLCH | oklch(45.31% 0.146 270.5) |
| XYZ | xyz(11.1524, 8.7909, 37.1781) |
| Luminance | 0.0879 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.28
Sapphire
#0F52BA
ΔE00 4.98
Cobalt (survey)
#1E488F
ΔE00 5.23
Blueberry
#464196
ΔE00 5.33
Blue Blue
#2242C7
ΔE00 5.57
Ocean Blue
#4F42B5
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394CA6 #A69339
analogous
#3982A6 #394CA6 #5C39A6
triadic
#394CA6 #A6394C #4CA639
tetradic
#394CA6 #A63982 #A69339 #39A65C
square
#394CA6 #A63982 #A69339 #39A65C
split-complementary
#394CA6 #A65C39 #82A639
monochromatic
#1A224B #293778 #394CA6 #576AC5 #8492D5
Accessibility & contrast
On white
7.61
#394CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#394CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394CA6
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394CA6 | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D59A9
Deuteranopia (green-blind)
#004FA4
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #394ca6; /* rgb */ color: rgb(57, 76, 166); /* oklch */ color: oklch(45.3% 0.146 270.5);
Tailwind
colors: {
custom: {
50: '#7b7dc1',
500: '#394ca6',
950: '#000000',
},
}SCSS
$custom: #394ca6; $custom-light: #7b7dc1; $custom-dark: #000000;
JSON
{
"hex": "#394ca6",
"rgb": {
"r": 57,
"g": 76,
"b": 166
},
"hsl": {
"h": 229.541,
"s": 48.879,
"l": 43.725
},
"oklch": {
"l": 0.45314,
"c": 0.14608,
"h": 270.5
},
"luminance": 0.08792
}Semantic roles & 50–950 ramp
primary
#394CA6
secondary
#BFB37C
accent
#C14FD8
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0912
muted
#7C7B81