#394586#394586
#394586 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.5% C 0.109 H 272.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #394586 |
|---|---|
| RGB | rgb(57, 69, 134) |
| HSL | hsl(231, 40%, 37%) |
| HSV | hsv(231, 57%, 53%) |
| CMYK | cmyk(57.5%, 48.5%, 0%, 47.5%) |
| CIE-LAB | lab(31.46, 15.64, -38.05) |
| CIE-LCH | lch(31.46, 41.14, 292.34°) |
| OKLab | oklab(41.5% 0.0056 -0.1085) |
| OKLCH | oklch(41.5% 0.109 272.9) |
| XYZ | xyz(8.1171, 6.8467, 23.4435) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.57
Twilight
#4E518B
ΔE00 5.00
Cobalt (survey)
#1E488F
ΔE00 5.01
Darkslateblue
#483D8B
ΔE00 5.20
Dusk
#4E5481
ΔE00 6.54
Darkish Blue
#014182
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394586 #867A39
analogous
#396C86 #394586 #533986
triadic
#394586 #863945 #458639
tetradic
#394586 #86396C #867A39 #398653
square
#394586 #86396C #867A39 #398653
split-complementary
#394586 #865339 #6C8639
monochromatic
#141930 #272F5B #394586 #4B5BB1 #7581C4
Accessibility & contrast
On white
8.86
#394586 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#394586 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394586
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394586 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394586 | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274D88
Deuteranopia (green-blind)
#1C4785
Tritanopia (blue-blind)
#0D535F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #394586; /* rgb */ color: rgb(57, 69, 134); /* oklch */ color: oklch(41.5% 0.109 272.9);
Tailwind
colors: {
custom: {
50: '#7678aa',
500: '#394586',
950: '#000000',
},
}SCSS
$custom: #394586; $custom-light: #7678aa; $custom-dark: #000000;
JSON
{
"hex": "#394586",
"rgb": {
"r": 57,
"g": 69,
"b": 134
},
"hsl": {
"h": 230.649,
"s": 40.314,
"l": 37.451
},
"oklch": {
"l": 0.41497,
"c": 0.10863,
"h": 272.9
},
"luminance": 0.06847
}Semantic roles & 50–950 ramp
primary
#394586
secondary
#ADA36D
accent
#BD58D0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F