#393CA3#393CA3
#393CA3 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.163 H 275.6°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #393CA3 |
|---|---|
| RGB | rgb(57, 60, 163) |
| HSL | hsl(238, 48%, 43%) |
| HSV | hsv(238, 65%, 64%) |
| CMYK | cmyk(65%, 63.2%, 0%, 36.1%) |
| CIE-LAB | lab(31.22, 31.82, -56.14) |
| CIE-LCH | lch(31.22, 64.53, 299.54°) |
| OKLab | oklab(42% 0.0158 -0.1618) |
| OKLCH | oklch(42% 0.163 275.6) |
| XYZ | xyz(9.9119, 6.7451, 35.4228) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.72
Blueberry
#464196
ΔE00 3.32
Ocean Blue
#4F42B5
ΔE00 4.32
Darkslateblue
#483D8B
ΔE00 5.00
Blue Blue
#2242C7
ΔE00 5.35
Blue With A Hint Of Purple
#533CC6
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393CA3 #A3A039
analogous
#3971A3 #393CA3 #6B39A3
triadic
#393CA3 #A3393C #3CA339
tetradic
#393CA3 #A33971 #A3A039 #39A36B
square
#393CA3 #A33971 #A3A039 #39A36B
split-complementary
#393CA3 #A36B39 #71A339
monochromatic
#191B48 #292B76 #393CA3 #5559C4 #8385D4
Accessibility & contrast
On white
8.94
#393CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#393CA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393CA3
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393CA3 | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0045A1
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #393ca3; /* rgb */ color: rgb(57, 60, 163); /* oklch */ color: oklch(42.0% 0.163 275.6);
Tailwind
colors: {
custom: {
50: '#7c72bf',
500: '#393ca3',
950: '#000000',
},
}SCSS
$custom: #393ca3; $custom-light: #7c72bf; $custom-dark: #000000;
JSON
{
"hex": "#393ca3",
"rgb": {
"r": 57,
"g": 60,
"b": 163
},
"hsl": {
"h": 238.302,
"s": 48.182,
"l": 43.137
},
"oklch": {
"l": 0.42,
"c": 0.16253,
"h": 275.6
},
"luminance": 0.06746
}Semantic roles & 50–950 ramp
primary
#393CA3
secondary
#BDBB7A
accent
#D450D8
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0812
muted
#7C7B81