#39408C#39408C
#39408C is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.125 H 275.5°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #39408C |
|---|---|
| RGB | rgb(57, 64, 140) |
| HSL | hsl(235, 42%, 39%) |
| HSV | hsv(235, 59%, 55%) |
| CMYK | cmyk(59.3%, 54.3%, 0%, 45.1%) |
| CIE-LAB | lab(30.47, 21.10, -43.34) |
| CIE-LCH | lch(30.47, 48.20, 295.96°) |
| OKLab | oklab(40.88% 0.0119 -0.1241) |
| OKLCH | oklch(40.88% 0.125 275.5) |
| XYZ | xyz(8.2528, 6.4295, 25.6120) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.88
Darkslateblue
#483D8B
ΔE00 3.62
Sapphire (survey)
#2138AB
ΔE00 5.92
Cobalt (survey)
#1E488F
ΔE00 6.06
Twilight
#4E518B
ΔE00 6.32
Cobalt
#0047AB
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#39408C #8C8539
analogous
#39698C #39408C #5B398C
triadic
#39408C #8C3940 #408C39
tetradic
#39408C #8C3969 #8C8539 #398C5B
square
#39408C #8C3969 #8C8539 #398C5B
split-complementary
#39408C #8C5B39 #698C39
monochromatic
#161835 #272C61 #39408C #4C55B6 #787EC8
Accessibility & contrast
On white
9.19
#39408C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#39408C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #39408C
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##39408C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##39408C | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#134B8F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#02515F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #39408c; /* rgb */ color: rgb(57, 64, 140); /* oklch */ color: oklch(40.9% 0.125 275.5);
Tailwind
colors: {
custom: {
50: '#7774ae',
500: '#39408c',
950: '#000000',
},
}SCSS
$custom: #39408c; $custom-light: #7774ae; $custom-dark: #000000;
JSON
{
"hex": "#39408c",
"rgb": {
"r": 57,
"g": 64,
"b": 140
},
"hsl": {
"h": 234.94,
"s": 42.132,
"l": 38.627
},
"oklch": {
"l": 0.40883,
"c": 0.12465,
"h": 275.5
},
"luminance": 0.0643
}Semantic roles & 50–950 ramp
primary
#39408C
secondary
#B1AC70
accent
#C756D2
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090810
muted
#7B7B7F