#393C95#393C95
#393C95 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.143 H 276.5°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #393C95 |
|---|---|
| RGB | rgb(57, 60, 149) |
| HSL | hsl(238, 45%, 40%) |
| HSV | hsv(238, 62%, 58%) |
| CMYK | cmyk(61.7%, 59.7%, 0%, 41.6%) |
| CIE-LAB | lab(30.09, 26.92, -49.48) |
| CIE-LCH | lch(30.09, 56.33, 298.54°) |
| OKLab | oklab(40.81% 0.0163 -0.1422) |
| OKLCH | oklch(40.81% 0.143 276.5) |
| XYZ | xyz(8.7263, 6.2708, 29.1785) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.40
Darkslateblue
#483D8B
ΔE00 3.52
Sapphire (survey)
#2138AB
ΔE00 4.16
Ocean Blue
#4F42B5
ΔE00 5.93
Cobalt
#0047AB
ΔE00 7.16
Blue Blue
#2242C7
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393C95 #959239
analogous
#396A95 #393C95 #643995
triadic
#393C95 #95393C #3C9539
tetradic
#393C95 #95396A #959239 #399564
square
#393C95 #95396A #959239 #399564
split-complementary
#393C95 #956439 #6A9539
monochromatic
#17183C #282A69 #393C95 #4F53BC #7C7ECD
Accessibility & contrast
On white
9.32
#393C95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#393C95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393C95
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393C95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393C95 | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #393c95; /* rgb */ color: rgb(57, 60, 149); /* oklch */ color: oklch(40.8% 0.143 276.5);
Tailwind
colors: {
custom: {
50: '#7971b5',
500: '#393c95',
950: '#000000',
},
}SCSS
$custom: #393c95; $custom-light: #7971b5; $custom-dark: #000000;
JSON
{
"hex": "#393c95",
"rgb": {
"r": 57,
"g": 60,
"b": 149
},
"hsl": {
"h": 238.043,
"s": 44.66,
"l": 40.392
},
"oklch": {
"l": 0.40809,
"c": 0.14314,
"h": 276.5
},
"luminance": 0.06272
}Semantic roles & 50–950 ramp
primary
#393C95
secondary
#B6B474
accent
#D053D4
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80