#393793#393793
#393793 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.147 H 278.3°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #393793 |
|---|---|
| RGB | rgb(57, 55, 147) |
| HSL | hsl(241, 46%, 40%) |
| HSV | hsv(241, 63%, 58%) |
| CMYK | cmyk(61.2%, 62.6%, 0%, 42.4%) |
| CIE-LAB | lab(28.66, 29.47, -50.57) |
| CIE-LCH | lch(28.66, 58.53, 300.23°) |
| OKLab | oklab(39.71% 0.0212 -0.1454) |
| OKLCH | oklch(39.71% 0.147 278.3) |
| XYZ | xyz(8.3183, 5.7082, 28.2616) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.26
Darkslateblue
#483D8B
ΔE00 3.56
Sapphire (survey)
#2138AB
ΔE00 4.33
Ocean Blue
#4F42B5
ΔE00 6.37
Blue Blue
#2242C7
ΔE00 7.99
Indigo Blue
#3A18B1
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393793 #919337
analogous
#376393 #393793 #673793
triadic
#393793 #933937 #379339
tetradic
#393793 #933763 #919337 #379367
square
#393793 #933763 #919337 #379367
split-complementary
#393793 #936737 #639337
monochromatic
#16163A #282666 #393793 #4E4BBC #7A78CC
Accessibility & contrast
On white
9.80
#393793 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#393793 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393793
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393793 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393793 | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #393793; /* rgb */ color: rgb(57, 55, 147); /* oklch */ color: oklch(39.7% 0.147 278.3);
Tailwind
colors: {
custom: {
50: '#796eb3',
500: '#393793',
950: '#000000',
},
}SCSS
$custom: #393793; $custom-light: #796eb3; $custom-dark: #000000;
JSON
{
"hex": "#393793",
"rgb": {
"r": 57,
"g": 55,
"b": 147
},
"hsl": {
"h": 241.304,
"s": 45.545,
"l": 39.608
},
"oklch": {
"l": 0.3971,
"c": 0.14698,
"h": 278.3
},
"luminance": 0.05709
}Semantic roles & 50–950 ramp
primary
#393793
secondary
#B4B570
accent
#D553D2
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80