#393BAC#393BAC
#393BAC is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.176 H 275.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #393BAC |
|---|---|
| RGB | rgb(57, 59, 172) |
| HSL | hsl(239, 50%, 45%) |
| HSV | hsv(239, 67%, 67%) |
| CMYK | cmyk(66.9%, 65.7%, 0%, 32.5%) |
| CIE-LAB | lab(31.75, 35.57, -60.68) |
| CIE-LCH | lch(31.75, 70.33, 300.38°) |
| OKLab | oklab(42.63% 0.016 -0.1751) |
| OKLCH | oklch(42.63% 0.176 275.2) |
| XYZ | xyz(10.6952, 6.9754, 39.8045) |
| Luminance | 0.0698 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.50
Ocean Blue
#4F42B5
ΔE00 3.67
Blueberry
#464196
ΔE00 4.41
Blue Blue
#2242C7
ΔE00 4.44
Blue With A Hint Of Purple
#533CC6
ΔE00 5.27
Blurple
#5539CC
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393BAC #ACAA39
analogous
#3974AC #393BAC #7139AC
triadic
#393BAC #AC393B #3BAC39
tetradic
#393BAC #AC3974 #ACAA39 #39AC71
square
#393BAC #AC3974 #ACAA39 #39AC71
split-complementary
#393BAC #AC7139 #74AC39
monochromatic
#1B1B50 #2A2B7E #393BAC #5A5CC8 #8889D8
Accessibility & contrast
On white
8.77
#393BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#393BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393BAC
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393BAC | 1.00 | 8.77 | 2.40 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0046AA
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #393bac; /* rgb */ color: rgb(57, 59, 172); /* oklch */ color: oklch(42.6% 0.176 275.2);
Tailwind
colors: {
custom: {
50: '#7e71c6',
500: '#393bac',
950: '#000000',
},
}SCSS
$custom: #393bac; $custom-light: #7e71c6; $custom-dark: #000000;
JSON
{
"hex": "#393bac",
"rgb": {
"r": 57,
"g": 59,
"b": 172
},
"hsl": {
"h": 238.957,
"s": 50.218,
"l": 44.902
},
"oklch": {
"l": 0.42627,
"c": 0.17581,
"h": 275.2
},
"luminance": 0.06976
}Semantic roles & 50–950 ramp
primary
#393BAC
secondary
#C2C07F
accent
#D74EDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82