#393791#393791
#393791 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.144 H 278.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #393791 |
|---|---|
| RGB | rgb(57, 55, 145) |
| HSL | hsl(241, 45%, 39%) |
| HSV | hsv(241, 62%, 57%) |
| CMYK | cmyk(60.7%, 62.1%, 0%, 43.1%) |
| CIE-LAB | lab(28.50, 28.78, -49.61) |
| CIE-LCH | lch(28.50, 57.35, 300.12°) |
| OKLab | oklab(39.54% 0.0213 -0.1426) |
| OKLCH | oklch(39.54% 0.144 278.5) |
| XYZ | xyz(8.1627, 5.6460, 27.4422) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.26
Darkslateblue
#483D8B
ΔE00 3.40
Sapphire (survey)
#2138AB
ΔE00 4.60
Ocean Blue
#4F42B5
ΔE00 6.62
Blue Blue
#2242C7
ΔE00 8.26
Indigo Blue
#3A18B1
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393791 #8F9137
analogous
#376291 #393791 #663791
triadic
#393791 #913937 #379139
tetradic
#393791 #913762 #8F9137 #379166
square
#393791 #913762 #8F9137 #379166
split-complementary
#393791 #916637 #629137
monochromatic
#161538 #282665 #393791 #4D4BBB #7977CB
Accessibility & contrast
On white
9.86
#393791 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#393791 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393791
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393791 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393791 | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #393791; /* rgb */ color: rgb(57, 55, 145); /* oklch */ color: oklch(39.5% 0.144 278.5);
Tailwind
colors: {
custom: {
50: '#796eb2',
500: '#393791',
950: '#000000',
},
}SCSS
$custom: #393791; $custom-light: #796eb2; $custom-dark: #000000;
JSON
{
"hex": "#393791",
"rgb": {
"r": 57,
"g": 55,
"b": 145
},
"hsl": {
"h": 241.333,
"s": 45,
"l": 39.216
},
"oklch": {
"l": 0.39539,
"c": 0.14418,
"h": 278.5
},
"luminance": 0.05647
}Semantic roles & 50–950 ramp
primary
#393791
secondary
#B3B470
accent
#D553D2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80