#393CAC#393CAC
#393CAC is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.175 H 275.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #393CAC |
|---|---|
| RGB | rgb(57, 60, 172) |
| HSL | hsl(238, 50%, 45%) |
| HSV | hsv(238, 67%, 67%) |
| CMYK | cmyk(66.9%, 65.1%, 0%, 32.5%) |
| CIE-LAB | lab(31.99, 34.94, -60.29) |
| CIE-LCH | lch(31.99, 69.68, 300.09°) |
| OKLab | oklab(42.8% 0.0152 -0.1739) |
| OKLCH | oklch(42.8% 0.175 275) |
| XYZ | xyz(10.7471, 7.0792, 39.8218) |
| Luminance | 0.0708 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.54
Ocean Blue
#4F42B5
ΔE00 3.60
Blue Blue
#2242C7
ΔE00 4.30
Blueberry
#464196
ΔE00 4.31
Blue With A Hint Of Purple
#533CC6
ΔE00 5.31
Darkslateblue
#483D8B
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393CAC #ACA939
analogous
#3975AC #393CAC #7039AC
triadic
#393CAC #AC393C #3CAC39
tetradic
#393CAC #AC3975 #ACA939 #39AC70
square
#393CAC #AC3975 #ACA939 #39AC70
split-complementary
#393CAC #AC7039 #75AC39
monochromatic
#1B1C50 #2A2C7E #393CAC #5A5DC8 #888AD8
Accessibility & contrast
On white
8.69
#393CAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#393CAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393CAC
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393CAC | 1.00 | 8.69 | 2.42 | 8.69 |
| #FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0046AA
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #393cac; /* rgb */ color: rgb(57, 60, 172); /* oklch */ color: oklch(42.8% 0.175 275.0);
Tailwind
colors: {
custom: {
50: '#7e72c6',
500: '#393cac',
950: '#000000',
},
}SCSS
$custom: #393cac; $custom-light: #7e72c6; $custom-dark: #000000;
JSON
{
"hex": "#393cac",
"rgb": {
"r": 57,
"g": 60,
"b": 172
},
"hsl": {
"h": 238.435,
"s": 50.218,
"l": 44.902
},
"oklch": {
"l": 0.42799,
"c": 0.1746,
"h": 275
},
"luminance": 0.0708
}Semantic roles & 50–950 ramp
primary
#393CAC
secondary
#C2C07F
accent
#D64EDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82