#393B97#393B97
#393B97 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.147 H 276.7°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #393B97 |
|---|---|
| RGB | rgb(57, 59, 151) |
| HSL | hsl(239, 45%, 41%) |
| HSV | hsv(239, 62%, 59%) |
| CMYK | cmyk(62.3%, 60.9%, 0%, 40.8%) |
| CIE-LAB | lab(29.99, 28.27, -50.86) |
| CIE-LCH | lch(29.99, 58.19, 299.06°) |
| OKLab | oklab(40.79% 0.0172 -0.1463) |
| OKLCH | oklch(40.79% 0.147 276.7) |
| XYZ | xyz(8.8354, 6.2315, 30.0094) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.58
Darkslateblue
#483D8B
ΔE00 3.70
Sapphire (survey)
#2138AB
ΔE00 3.83
Ocean Blue
#4F42B5
ΔE00 5.69
Blue Blue
#2242C7
ΔE00 7.05
Cobalt
#0047AB
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393B97 #979539
analogous
#396A97 #393B97 #663997
triadic
#393B97 #97393B #3B9739
tetradic
#393B97 #97396A #979539 #399766
square
#393B97 #97396A #979539 #399766
split-complementary
#393B97 #976639 #6A9739
monochromatic
#17183E #282A6B #393B97 #5053BD #7D7ECE
Accessibility & contrast
On white
9.35
#393B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#393B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393B97
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393B97 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #393b97; /* rgb */ color: rgb(57, 59, 151); /* oklch */ color: oklch(40.8% 0.147 276.7);
Tailwind
colors: {
custom: {
50: '#7a71b6',
500: '#393b97',
950: '#000000',
},
}SCSS
$custom: #393b97; $custom-light: #7a71b6; $custom-dark: #000000;
JSON
{
"hex": "#393b97",
"rgb": {
"r": 57,
"g": 59,
"b": 151
},
"hsl": {
"h": 238.723,
"s": 45.192,
"l": 40.784
},
"oklch": {
"l": 0.40787,
"c": 0.14728,
"h": 276.7
},
"luminance": 0.06232
}Semantic roles & 50–950 ramp
primary
#393B97
secondary
#B7B675
accent
#D253D5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80