#393C97#393C97
#393C97 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.146 H 276.4°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #393C97 |
|---|---|
| RGB | rgb(57, 60, 151) |
| HSL | hsl(238, 45%, 41%) |
| HSV | hsv(238, 62%, 59%) |
| CMYK | cmyk(62.3%, 60.3%, 0%, 40.8%) |
| CIE-LAB | lab(30.24, 27.62, -50.45) |
| CIE-LCH | lch(30.24, 57.52, 298.70°) |
| OKLab | oklab(40.98% 0.0163 -0.1451) |
| OKLCH | oklch(40.98% 0.146 276.4) |
| XYZ | xyz(8.8873, 6.3352, 30.0266) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.45
Darkslateblue
#483D8B
ΔE00 3.70
Sapphire (survey)
#2138AB
ΔE00 3.90
Ocean Blue
#4F42B5
ΔE00 5.67
Blue Blue
#2242C7
ΔE00 6.98
Cobalt
#0047AB
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393C97 #979439
analogous
#396B97 #393C97 #653997
triadic
#393C97 #97393C #3C9739
tetradic
#393C97 #97396B #979439 #399765
square
#393C97 #97396B #979439 #399765
split-complementary
#393C97 #976539 #6B9739
monochromatic
#17193E #282A6B #393C97 #5054BD #7D7FCE
Accessibility & contrast
On white
9.26
#393C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#393C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393C97
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393C97 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #393c97; /* rgb */ color: rgb(57, 60, 151); /* oklch */ color: oklch(41.0% 0.146 276.4);
Tailwind
colors: {
custom: {
50: '#7a71b6',
500: '#393c97',
950: '#000000',
},
}SCSS
$custom: #393c97; $custom-light: #7a71b6; $custom-dark: #000000;
JSON
{
"hex": "#393c97",
"rgb": {
"r": 57,
"g": 60,
"b": 151
},
"hsl": {
"h": 238.085,
"s": 45.192,
"l": 40.784
},
"oklch": {
"l": 0.40975,
"c": 0.14596,
"h": 276.4
},
"luminance": 0.06336
}Semantic roles & 50–950 ramp
primary
#393C97
secondary
#B7B575
accent
#D153D5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80