#394EA5#394EA5
#394EA5 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.142 H 269.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #394EA5 |
|---|---|
| RGB | rgb(57, 78, 165) |
| HSL | hsl(228, 49%, 44%) |
| HSV | hsv(228, 65%, 65%) |
| CMYK | cmyk(65.5%, 52.7%, 0%, 35.3%) |
| CIE-LAB | lab(36.05, 20.78, -49.50) |
| CIE-LCH | lch(36.05, 53.69, 292.78°) |
| OKLab | oklab(45.65% -0.0006 -0.142) |
| OKLCH | oklch(45.65% 0.142 269.8) |
| XYZ | xyz(11.2010, 9.0342, 36.7435) |
| Luminance | 0.0903 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.34
Sapphire
#0F52BA
ΔE00 4.63
Cobalt (survey)
#1E488F
ΔE00 5.04
Denim Blue
#3B5B92
ΔE00 5.70
Blueberry
#464196
ΔE00 5.88
Dusk Blue
#26538D
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394EA5 #A59039
analogous
#3984A5 #394EA5 #5A39A5
triadic
#394EA5 #A5394E #4EA539
tetradic
#394EA5 #A53984 #A59039 #39A55A
square
#394EA5 #A53984 #A59039 #39A55A
split-complementary
#394EA5 #A55A39 #84A539
monochromatic
#1A234A #293878 #394EA5 #566CC5 #8494D4
Accessibility & contrast
On white
7.48
#394EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#394EA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394EA5
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394EA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394EA5 | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#185AA8
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #394ea5; /* rgb */ color: rgb(57, 78, 165); /* oklch */ color: oklch(45.6% 0.142 269.8);
Tailwind
colors: {
custom: {
50: '#7b7fc0',
500: '#394ea5',
950: '#000000',
},
}SCSS
$custom: #394ea5; $custom-light: #7b7fc0; $custom-dark: #000000;
JSON
{
"hex": "#394ea5",
"rgb": {
"r": 57,
"g": 78,
"b": 165
},
"hsl": {
"h": 228.333,
"s": 48.649,
"l": 43.529
},
"oklch": {
"l": 0.45647,
"c": 0.14204,
"h": 269.8
},
"luminance": 0.09035
}Semantic roles & 50–950 ramp
primary
#394EA5
secondary
#BEB17B
accent
#BE50D8
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0A12
muted
#7C7C81