#3A2AB0#3A2AB0
#3A2AB0 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.5% C 0.199 H 278.1°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2AB0 |
|---|---|
| RGB | rgb(58, 42, 176) |
| HSL | hsl(247, 61%, 43%) |
| HSV | hsv(247, 76%, 69%) |
| CMYK | cmyk(67%, 76.1%, 0%, 31%) |
| CIE-LAB | lab(28.61, 46.90, -68.22) |
| CIE-LCH | lch(28.61, 82.79, 304.51°) |
| OKLab | oklab(40.51% 0.028 -0.1971) |
| OKLCH | oklch(40.51% 0.199 278.1) |
| XYZ | xyz(10.4068, 5.6892, 41.6156) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.22
Sapphire (survey)
#2138AB
ΔE00 5.06
True Blue
#010FCC
ΔE00 5.33
Violet Blue
#510AC9
ΔE00 5.49
Blue With A Hint Of Purple
#533CC6
ΔE00 6.10
Mediumblue
#0000CD
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2AB0 #A0B02A
analogous
#2A5DB0 #3A2AB0 #7D2AB0
triadic
#3A2AB0 #B03A2A #2AB03A
tetradic
#3A2AB0 #B02A5D #A0B02A #2AB07D
square
#3A2AB0 #B02A5D #A0B02A #2AB07D
split-complementary
#3A2AB0 #B07D2A #5DB02A
monochromatic
#19124D #2A1E7F #3A2AB0 #5645D3 #8376DE
Accessibility & contrast
On white
9.82
#3A2AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#3A2AB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2AB0
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2AB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2AB0 | 1.00 | 9.82 | 2.14 | 9.82 |
| #FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003EAE
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #3a2ab0; /* rgb */ color: rgb(58, 42, 176); /* oklch */ color: oklch(40.5% 0.199 278.1);
Tailwind
colors: {
custom: {
50: '#8166c9',
500: '#3a2ab0',
950: '#000000',
},
}SCSS
$custom: #3a2ab0; $custom-light: #8166c9; $custom-dark: #000000;
JSON
{
"hex": "#3a2ab0",
"rgb": {
"r": 58,
"g": 42,
"b": 176
},
"hsl": {
"h": 247.164,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.40514,
"c": 0.19904,
"h": 278.1
},
"luminance": 0.0569
}Semantic roles & 50–950 ramp
primary
#3A2AB0
secondary
#BCC670
accent
#E543D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82