#393FAB#393FAB
#393FAB is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.2% C 0.170 H 274.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #393FAB |
|---|---|
| RGB | rgb(57, 63, 171) |
| HSL | hsl(237, 50%, 45%) |
| HSV | hsv(237, 67%, 67%) |
| CMYK | cmyk(66.7%, 63.2%, 0%, 32.9%) |
| CIE-LAB | lab(32.62, 32.70, -58.65) |
| CIE-LCH | lch(32.62, 67.15, 299.14°) |
| OKLab | oklab(43.24% 0.0129 -0.1691) |
| OKLCH | oklch(43.24% 0.17 274.4) |
| XYZ | xyz(10.8131, 7.3642, 39.3718) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.83
Ocean Blue
#4F42B5
ΔE00 3.60
Blueberry
#464196
ΔE00 3.99
Blue Blue
#2242C7
ΔE00 4.09
Blue With A Hint Of Purple
#533CC6
ΔE00 5.65
Darkslateblue
#483D8B
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#393FAB #ABA539
analogous
#3978AB #393FAB #6C39AB
triadic
#393FAB #AB393F #3FAB39
tetradic
#393FAB #AB3978 #ABA539 #39AB6C
square
#393FAB #AB3978 #ABA539 #39AB6C
split-complementary
#393FAB #AB6C39 #78AB39
monochromatic
#1A1D4F #2A2E7D #393FAB #595FC8 #878CD7
Accessibility & contrast
On white
8.49
#393FAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#393FAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #393FAB
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##393FAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##393FAB | 1.00 | 8.49 | 2.47 | 8.49 |
| #FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #393fab; /* rgb */ color: rgb(57, 63, 171); /* oklch */ color: oklch(43.2% 0.170 274.4);
Tailwind
colors: {
custom: {
50: '#7d74c5',
500: '#393fab',
950: '#000000',
},
}SCSS
$custom: #393fab; $custom-light: #7d74c5; $custom-dark: #000000;
JSON
{
"hex": "#393fab",
"rgb": {
"r": 57,
"g": 63,
"b": 171
},
"hsl": {
"h": 236.842,
"s": 50,
"l": 44.706
},
"oklch": {
"l": 0.43238,
"c": 0.16961,
"h": 274.4
},
"luminance": 0.07365
}Semantic roles & 50–950 ramp
primary
#393FAB
secondary
#C1BE7F
accent
#D24EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82