#393990#393990
#393990 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.140 H 277.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #393990 |
|---|---|
| RGB | rgb(57, 57, 144) |
| HSL | hsl(240, 43%, 39%) |
| HSV | hsv(240, 60%, 56%) |
| CMYK | cmyk(60.4%, 60.4%, 0%, 43.5%) |
| CIE-LAB | lab(28.93, 27.13, -48.30) |
| CIE-LCH | lch(28.93, 55.40, 299.33°) |
| OKLab | oklab(39.83% 0.0194 -0.1388) |
| OKLCH | oklch(39.83% 0.14 277.9) |
| XYZ | xyz(8.1829, 5.8091, 27.0702) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.87
Darkslateblue
#483D8B
ΔE00 3.16
Sapphire (survey)
#2138AB
ΔE00 4.73
Ocean Blue
#4F42B5
ΔE00 6.64
Cobalt (survey)
#1E488F
ΔE00 8.03
Cobalt
#0047AB
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393990 #909039
analogous
#396590 #393990 #653990
triadic
#393990 #903939 #399039
tetradic
#393990 #903965 #909039 #399065
square
#393990 #903965 #909039 #399065
split-complementary
#393990 #906539 #659039
monochromatic
#161638 #282864 #393990 #4D4DB9 #7979CA
Accessibility & contrast
On white
9.71
#393990 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#393990 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393990
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393990 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393990 | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #393990; /* rgb */ color: rgb(57, 57, 144); /* oklch */ color: oklch(39.8% 0.140 277.9);
Tailwind
colors: {
custom: {
50: '#796fb1',
500: '#393990',
950: '#000000',
},
}SCSS
$custom: #393990; $custom-light: #796fb1; $custom-dark: #000000;
JSON
{
"hex": "#393990",
"rgb": {
"r": 57,
"g": 57,
"b": 144
},
"hsl": {
"h": 240,
"s": 43.284,
"l": 39.412
},
"oklch": {
"l": 0.39827,
"c": 0.14009,
"h": 277.9
},
"luminance": 0.0581
}Semantic roles & 50–950 ramp
primary
#393990
secondary
#B3B371
accent
#D355D3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80