#393071#393071
#393071 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.6% C 0.108 H 285.9°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #393071 |
|---|---|
| RGB | rgb(57, 48, 113) |
| HSL | hsl(248, 40%, 32%) |
| HSV | hsv(248, 58%, 44%) |
| CMYK | cmyk(49.6%, 57.5%, 0%, 55.7%) |
| CIE-LAB | lab(24.24, 22.52, -36.43) |
| CIE-LCH | lch(24.24, 42.82, 301.73°) |
| OKLab | oklab(35.61% 0.0295 -0.1039) |
| OKLCH | oklch(35.61% 0.108 285.9) |
| XYZ | xyz(5.7241, 4.1758, 16.1240) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.40
Blueberry
#464196
ΔE00 7.32
Midnight Blue
#191970
ΔE00 7.49
Marine
#042E60
ΔE00 9.31
Navy Blue
#1B2A4A
ΔE00 9.48
Royal
#0C1793
ΔE00 10.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393071 #687130
analogous
#304871 #393071 #5A3071
triadic
#393071 #713930 #307139
tetradic
#393071 #713048 #687130 #30715A
square
#393071 #713048 #687130 #30715A
split-complementary
#393071 #715A30 #487130
monochromatic
#0E0C1B #231E46 #393071 #4F429C #6D60BB
Accessibility & contrast
On white
11.44
#393071 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#393071 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393071
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393071 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393071 | 1.00 | 11.44 | 1.84 | 11.44 |
| #FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C3B73
Deuteranopia (green-blind)
#093870
Tritanopia (blue-blind)
#263E4B
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #393071; /* rgb */ color: rgb(57, 48, 113); /* oklch */ color: oklch(35.6% 0.108 285.9);
Tailwind
colors: {
custom: {
50: '#74689a',
500: '#393071',
950: '#000000',
},
}SCSS
$custom: #393071; $custom-light: #74689a; $custom-dark: #000000;
JSON
{
"hex": "#393071",
"rgb": {
"r": 57,
"g": 48,
"b": 113
},
"hsl": {
"h": 248.308,
"s": 40.373,
"l": 31.569
},
"oklch": {
"l": 0.35614,
"c": 0.10799,
"h": 285.9
},
"luminance": 0.04176
}Semantic roles & 50–950 ramp
primary
#393071
secondary
#98A25B
accent
#D058C0
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E