#39408B#39408B
#39408B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.123 H 275.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #39408B |
|---|---|
| RGB | rgb(57, 64, 139) |
| HSL | hsl(235, 42%, 38%) |
| HSV | hsv(235, 59%, 55%) |
| CMYK | cmyk(59%, 54%, 0%, 45.5%) |
| CIE-LAB | lab(30.40, 20.75, -42.83) |
| CIE-LCH | lch(30.40, 47.59, 295.84°) |
| OKLab | oklab(40.81% 0.0118 -0.1226) |
| OKLCH | oklch(40.81% 0.123 275.5) |
| XYZ | xyz(8.1794, 6.4001, 25.2254) |
| Luminance | 0.0640 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.98
Darkslateblue
#483D8B
ΔE00 3.63
Cobalt (survey)
#1E488F
ΔE00 6.07
Sapphire (survey)
#2138AB
ΔE00 6.07
Twilight
#4E518B
ΔE00 6.27
Cobalt
#0047AB
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#39408B #8B8439
analogous
#39698B #39408B #5B398B
triadic
#39408B #8B3940 #408B39
tetradic
#39408B #8B3969 #8B8439 #398B5B
square
#39408B #8B3969 #8B8439 #398B5B
split-complementary
#39408B #8B5B39 #698B39
monochromatic
#151834 #272C60 #39408B #4C55B5 #777EC7
Accessibility & contrast
On white
9.21
#39408B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#39408B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #39408B
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##39408B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##39408B | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#154B8E
Deuteranopia (green-blind)
#014489
Tritanopia (blue-blind)
#04515F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #39408b; /* rgb */ color: rgb(57, 64, 139); /* oklch */ color: oklch(40.8% 0.123 275.5);
Tailwind
colors: {
custom: {
50: '#7774ad',
500: '#39408b',
950: '#000000',
},
}SCSS
$custom: #39408b; $custom-light: #7774ad; $custom-dark: #000000;
JSON
{
"hex": "#39408b",
"rgb": {
"r": 57,
"g": 64,
"b": 139
},
"hsl": {
"h": 234.878,
"s": 41.837,
"l": 38.431
},
"oklch": {
"l": 0.40808,
"c": 0.12317,
"h": 275.5
},
"luminance": 0.06401
}Semantic roles & 50–950 ramp
primary
#39408B
secondary
#B0AB6F
accent
#C756D2
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090810
muted
#7B7B7F