#393CA2#393CA2
#393CA2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.161 H 275.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #393CA2 |
|---|---|
| RGB | rgb(57, 60, 162) |
| HSL | hsl(238, 48%, 43%) |
| HSV | hsv(238, 65%, 64%) |
| CMYK | cmyk(64.8%, 63%, 0%, 36.5%) |
| CIE-LAB | lab(31.14, 31.47, -55.67) |
| CIE-LCH | lch(31.14, 63.95, 299.48°) |
| OKLab | oklab(41.91% 0.0159 -0.1604) |
| OKLCH | oklch(41.91% 0.161 275.7) |
| XYZ | xyz(9.8227, 6.7094, 34.9528) |
| Luminance | 0.0671 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.79
Blueberry
#464196
ΔE00 3.23
Ocean Blue
#4F42B5
ΔE00 4.42
Darkslateblue
#483D8B
ΔE00 4.89
Blue Blue
#2242C7
ΔE00 5.48
Blue With A Hint Of Purple
#533CC6
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393CA2 #A29F39
analogous
#3970A2 #393CA2 #6B39A2
triadic
#393CA2 #A2393C #3CA239
tetradic
#393CA2 #A23970 #A29F39 #39A26B
square
#393CA2 #A23970 #A29F39 #39A26B
split-complementary
#393CA2 #A26B39 #70A239
monochromatic
#191A47 #292B75 #393CA2 #5558C3 #8285D3
Accessibility & contrast
On white
8.97
#393CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#393CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393CA2
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393CA2 | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #393ca2; /* rgb */ color: rgb(57, 60, 162); /* oklch */ color: oklch(41.9% 0.161 275.7);
Tailwind
colors: {
custom: {
50: '#7c72be',
500: '#393ca2',
950: '#000000',
},
}SCSS
$custom: #393ca2; $custom-light: #7c72be; $custom-dark: #000000;
JSON
{
"hex": "#393ca2",
"rgb": {
"r": 57,
"g": 60,
"b": 162
},
"hsl": {
"h": 238.286,
"s": 47.945,
"l": 42.941
},
"oklch": {
"l": 0.41912,
"c": 0.16118,
"h": 275.7
},
"luminance": 0.0671
}Semantic roles & 50–950 ramp
primary
#393CA2
secondary
#BDBB7A
accent
#D450D8
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0812
muted
#7C7B81