#394591#394591
#394591 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.125 H 273.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #394591 |
|---|---|
| RGB | rgb(57, 69, 145) |
| HSL | hsl(232, 44%, 40%) |
| HSV | hsv(232, 61%, 57%) |
| CMYK | cmyk(60.7%, 52.4%, 0%, 43.1%) |
| CIE-LAB | lab(32.19, 19.54, -43.63) |
| CIE-LCH | lch(32.19, 47.81, 294.13°) |
| OKLab | oklab(42.29% 0.0068 -0.1249) |
| OKLCH | oklch(42.29% 0.125 273.1) |
| XYZ | xyz(8.9246, 7.1697, 27.6962) |
| Luminance | 0.0717 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.47
Cobalt (survey)
#1E488F
ΔE00 4.87
Darkslateblue
#483D8B
ΔE00 4.88
Twilight
#4E518B
ΔE00 5.55
Cobalt
#0047AB
ΔE00 5.88
Sapphire (survey)
#2138AB
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394591 #918539
analogous
#397191 #394591 #593991
triadic
#394591 #913945 #459139
tetradic
#394591 #913971 #918539 #399159
square
#394591 #913971 #918539 #399159
split-complementary
#394591 #915939 #719139
monochromatic
#161B39 #283065 #394591 #4E5DB9 #7A85CB
Accessibility & contrast
On white
8.63
#394591 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#394591 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394591
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394591 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394591 | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B5094
Deuteranopia (green-blind)
#06488F
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #394591; /* rgb */ color: rgb(57, 69, 145); /* oklch */ color: oklch(42.3% 0.125 273.1);
Tailwind
colors: {
custom: {
50: '#7878b2',
500: '#394591',
950: '#000000',
},
}SCSS
$custom: #394591; $custom-light: #7878b2; $custom-dark: #000000;
JSON
{
"hex": "#394591",
"rgb": {
"r": 57,
"g": 69,
"b": 145
},
"hsl": {
"h": 231.818,
"s": 43.564,
"l": 39.608
},
"oklch": {
"l": 0.42289,
"c": 0.12509,
"h": 273.1
},
"luminance": 0.0717
}Semantic roles & 50–950 ramp
primary
#394591
secondary
#B4AB72
accent
#C254D3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80