#394891#394891
#394891 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.121 H 271.7°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #394891 |
|---|---|
| RGB | rgb(57, 72, 145) |
| HSL | hsl(230, 44%, 40%) |
| HSV | hsv(230, 61%, 57%) |
| CMYK | cmyk(60.7%, 50.3%, 0%, 43.1%) |
| CIE-LAB | lab(33.02, 17.54, -42.29) |
| CIE-LCH | lch(33.02, 45.79, 292.53°) |
| OKLab | oklab(42.92% 0.0036 -0.1209) |
| OKLCH | oklch(42.92% 0.121 271.7) |
| XYZ | xyz(9.1138, 7.5482, 27.7592) |
| Luminance | 0.0755 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.29
Blueberry
#464196
ΔE00 4.33
Twilight
#4E518B
ΔE00 5.09
Cobalt
#0047AB
ΔE00 5.61
Darkslateblue
#483D8B
ΔE00 5.77
Dusk Blue
#26538D
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394891 #918239
analogous
#397491 #394891 #563991
triadic
#394891 #913948 #489139
tetradic
#394891 #913974 #918239 #399156
square
#394891 #913974 #918239 #399156
split-complementary
#394891 #915639 #749139
monochromatic
#161C39 #283265 #394891 #4E60B9 #7A88CB
Accessibility & contrast
On white
8.37
#394891 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#394891 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394891
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394891 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394891 | 1.00 | 8.37 | 2.51 | 8.37 |
| #FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#235294
Deuteranopia (green-blind)
#124A8F
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #394891; /* rgb */ color: rgb(57, 72, 145); /* oklch */ color: oklch(42.9% 0.121 271.7);
Tailwind
colors: {
custom: {
50: '#787ab2',
500: '#394891',
950: '#000000',
},
}SCSS
$custom: #394891; $custom-light: #787ab2; $custom-dark: #000000;
JSON
{
"hex": "#394891",
"rgb": {
"r": 57,
"g": 72,
"b": 145
},
"hsl": {
"h": 229.773,
"s": 43.564,
"l": 39.608
},
"oklch": {
"l": 0.4292,
"c": 0.12097,
"h": 271.7
},
"luminance": 0.07549
}Semantic roles & 50–950 ramp
primary
#394891
secondary
#B4A972
accent
#BE54D3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80