#393792#393792
#393792 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.146 H 278.4°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #393792 |
|---|---|
| RGB | rgb(57, 55, 146) |
| HSL | hsl(241, 45%, 39%) |
| HSV | hsv(241, 62%, 57%) |
| CMYK | cmyk(61%, 62.3%, 0%, 42.7%) |
| CIE-LAB | lab(28.58, 29.13, -50.09) |
| CIE-LCH | lch(28.58, 57.94, 300.18°) |
| OKLab | oklab(39.62% 0.0213 -0.144) |
| OKLCH | oklch(39.62% 0.146 278.4) |
| XYZ | xyz(8.2402, 5.6770, 27.8501) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.26
Darkslateblue
#483D8B
ΔE00 3.48
Sapphire (survey)
#2138AB
ΔE00 4.47
Ocean Blue
#4F42B5
ΔE00 6.49
Blue Blue
#2242C7
ΔE00 8.12
Indigo Blue
#3A18B1
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393792 #909237
analogous
#376392 #393792 #673792
triadic
#393792 #923937 #379239
tetradic
#393792 #923763 #909237 #379267
square
#393792 #923763 #909237 #379267
split-complementary
#393792 #926737 #639237
monochromatic
#161639 #282666 #393792 #4D4BBB #7977CC
Accessibility & contrast
On white
9.83
#393792 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#393792 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393792
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393792 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393792 | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #393792; /* rgb */ color: rgb(57, 55, 146); /* oklch */ color: oklch(39.6% 0.146 278.4);
Tailwind
colors: {
custom: {
50: '#796eb3',
500: '#393792',
950: '#000000',
},
}SCSS
$custom: #393792; $custom-light: #796eb3; $custom-dark: #000000;
JSON
{
"hex": "#393792",
"rgb": {
"r": 57,
"g": 55,
"b": 146
},
"hsl": {
"h": 241.319,
"s": 45.274,
"l": 39.412
},
"oklch": {
"l": 0.39624,
"c": 0.14558,
"h": 278.4
},
"luminance": 0.05678
}Semantic roles & 50–950 ramp
primary
#393792
secondary
#B3B570
accent
#D553D2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80