#393A91#393A91
#393A91 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.140 H 277.5°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #393A91 |
|---|---|
| RGB | rgb(57, 58, 145) |
| HSL | hsl(239, 44%, 40%) |
| HSV | hsv(239, 61%, 57%) |
| CMYK | cmyk(60.7%, 60%, 0%, 43.1%) |
| CIE-LAB | lab(29.26, 26.83, -48.37) |
| CIE-LCH | lch(29.26, 55.32, 299.01°) |
| OKLab | oklab(40.1% 0.0183 -0.1389) |
| OKLCH | oklch(40.1% 0.14 277.5) |
| XYZ | xyz(8.3096, 5.9397, 27.4912) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.68
Darkslateblue
#483D8B
ΔE00 3.19
Sapphire (survey)
#2138AB
ΔE00 4.61
Ocean Blue
#4F42B5
ΔE00 6.48
Cobalt (survey)
#1E488F
ΔE00 7.76
Cobalt
#0047AB
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393A91 #919039
analogous
#396691 #393A91 #643991
triadic
#393A91 #91393A #3A9139
tetradic
#393A91 #913966 #919039 #399164
square
#393A91 #913966 #919039 #399164
split-complementary
#393A91 #916439 #669139
monochromatic
#161739 #282865 #393A91 #4E4FB9 #7A7BCB
Accessibility & contrast
On white
9.60
#393A91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#393A91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393A91
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393A91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393A91 | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #393a91; /* rgb */ color: rgb(57, 58, 145); /* oklch */ color: oklch(40.1% 0.140 277.5);
Tailwind
colors: {
custom: {
50: '#7970b2',
500: '#393a91',
950: '#000000',
},
}SCSS
$custom: #393a91; $custom-light: #7970b2; $custom-dark: #000000;
JSON
{
"hex": "#393a91",
"rgb": {
"r": 57,
"g": 58,
"b": 145
},
"hsl": {
"h": 239.318,
"s": 43.564,
"l": 39.608
},
"oklch": {
"l": 0.40099,
"c": 0.14016,
"h": 277.5
},
"luminance": 0.0594
}Semantic roles & 50–950 ramp
primary
#393A91
secondary
#B4B372
accent
#D254D3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80