#393997#393997
#393997 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.150 H 277.3°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #393997 |
|---|---|
| RGB | rgb(57, 57, 151) |
| HSL | hsl(240, 45%, 41%) |
| HSV | hsv(240, 62%, 59%) |
| CMYK | cmyk(62.3%, 62.3%, 0%, 40.8%) |
| CIE-LAB | lab(29.49, 29.57, -51.68) |
| CIE-LCH | lch(29.49, 59.54, 299.77°) |
| OKLab | oklab(40.42% 0.0191 -0.1487) |
| OKLCH | oklch(40.42% 0.15 277.3) |
| XYZ | xyz(8.7346, 6.0298, 29.9757) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.93
Darkslateblue
#483D8B
ΔE00 3.77
Sapphire (survey)
#2138AB
ΔE00 3.79
Ocean Blue
#4F42B5
ΔE00 5.76
Blue Blue
#2242C7
ΔE00 7.23
Cobalt
#0047AB
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393997 #979739
analogous
#396897 #393997 #683997
triadic
#393997 #973939 #399739
tetradic
#393997 #973968 #979739 #399768
square
#393997 #973968 #979739 #399768
split-complementary
#393997 #976839 #689739
monochromatic
#17173E #28286B #393997 #5050BD #7D7DCE
Accessibility & contrast
On white
9.52
#393997 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#393997 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393997
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393997 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393997 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #393997; /* rgb */ color: rgb(57, 57, 151); /* oklch */ color: oklch(40.4% 0.150 277.3);
Tailwind
colors: {
custom: {
50: '#7a6fb6',
500: '#393997',
950: '#000000',
},
}SCSS
$custom: #393997; $custom-light: #7a6fb6; $custom-dark: #000000;
JSON
{
"hex": "#393997",
"rgb": {
"r": 57,
"g": 57,
"b": 151
},
"hsl": {
"h": 240,
"s": 45.192,
"l": 40.784
},
"oklch": {
"l": 0.40418,
"c": 0.14991,
"h": 277.3
},
"luminance": 0.0603
}Semantic roles & 50–950 ramp
primary
#393997
secondary
#B7B775
accent
#D553D5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80