#393A8F#393A8F
#393A8F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.137 H 277.7°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #393A8F |
|---|---|
| RGB | rgb(57, 58, 143) |
| HSL | hsl(239, 43%, 39%) |
| HSV | hsv(239, 60%, 56%) |
| CMYK | cmyk(60.1%, 59.4%, 0%, 43.9%) |
| CIE-LAB | lab(29.10, 26.13, -47.40) |
| CIE-LCH | lch(29.10, 54.12, 298.87°) |
| OKLab | oklab(39.93% 0.0184 -0.1361) |
| OKLCH | oklch(39.93% 0.137 277.7) |
| XYZ | xyz(8.1567, 5.8785, 26.6861) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.74
Darkslateblue
#483D8B
ΔE00 3.06
Sapphire (survey)
#2138AB
ΔE00 4.90
Ocean Blue
#4F42B5
ΔE00 6.75
Cobalt (survey)
#1E488F
ΔE00 7.74
Cobalt
#0047AB
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393A8F #8F8E39
analogous
#39658F #393A8F #63398F
triadic
#393A8F #8F393A #3A8F39
tetradic
#393A8F #8F3965 #8F8E39 #398F63
square
#393A8F #8F3965 #8F8E39 #398F63
split-complementary
#393A8F #8F6339 #658F39
monochromatic
#161737 #282863 #393A8F #4D4EB8 #797ACA
Accessibility & contrast
On white
9.65
#393A8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#393A8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393A8F
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393A8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393A8F | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #393a8f; /* rgb */ color: rgb(57, 58, 143); /* oklch */ color: oklch(39.9% 0.137 277.7);
Tailwind
colors: {
custom: {
50: '#7870b0',
500: '#393a8f',
950: '#000000',
},
}SCSS
$custom: #393a8f; $custom-light: #7870b0; $custom-dark: #000000;
JSON
{
"hex": "#393a8f",
"rgb": {
"r": 57,
"g": 58,
"b": 143
},
"hsl": {
"h": 239.302,
"s": 43,
"l": 39.216
},
"oklch": {
"l": 0.39934,
"c": 0.13731,
"h": 277.7
},
"luminance": 0.05879
}Semantic roles & 50–950 ramp
primary
#393A8F
secondary
#B3B271
accent
#D155D3
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0711
muted
#7C7A80