#393C8B#393C8B
#393C8B is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.129 H 277.2°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #393C8B |
|---|---|
| RGB | rgb(57, 60, 139) |
| HSL | hsl(238, 42%, 38%) |
| HSV | hsv(238, 59%, 55%) |
| CMYK | cmyk(59%, 56.8%, 0%, 45.5%) |
| CIE-LAB | lab(29.32, 23.41, -44.57) |
| CIE-LCH | lch(29.32, 50.35, 297.71°) |
| OKLab | oklab(40% 0.0162 -0.1277) |
| OKLCH | oklch(40% 0.129 277.2) |
| XYZ | xyz(7.9619, 5.9651, 25.1529) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.81
Darkslateblue
#483D8B
ΔE00 2.99
Sapphire (survey)
#2138AB
ΔE00 5.63
Cobalt (survey)
#1E488F
ΔE00 7.16
Twilight
#4E518B
ΔE00 7.32
Ocean Blue
#4F42B5
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393C8B #8B8839
analogous
#39658B #393C8B #5F398B
triadic
#393C8B #8B393C #3C8B39
tetradic
#393C8B #8B3965 #8B8839 #398B5F
square
#393C8B #8B3965 #8B8839 #398B5F
split-complementary
#393C8B #8B5F39 #658B39
monochromatic
#151734 #272960 #393C8B #4C50B5 #777AC7
Accessibility & contrast
On white
9.58
#393C8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#393C8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393C8B
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393C8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393C8B | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#03498E
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#064E5D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #393c8b; /* rgb */ color: rgb(57, 60, 139); /* oklch */ color: oklch(40.0% 0.129 277.2);
Tailwind
colors: {
custom: {
50: '#7771ad',
500: '#393c8b',
950: '#000000',
},
}SCSS
$custom: #393c8b; $custom-light: #7771ad; $custom-dark: #000000;
JSON
{
"hex": "#393c8b",
"rgb": {
"r": 57,
"g": 60,
"b": 139
},
"hsl": {
"h": 237.805,
"s": 41.837,
"l": 38.431
},
"oklch": {
"l": 0.40002,
"c": 0.12877,
"h": 277.2
},
"luminance": 0.05966
}Semantic roles & 50–950 ramp
primary
#393C8B
secondary
#B0AE6F
accent
#CD56D2
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#090710
muted
#7B7A7F