#3A2AA1#3A2AA1
#3A2AA1 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.181 H 280.0°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2AA1 |
|---|---|
| RGB | rgb(58, 42, 161) |
| HSL | hsl(248, 59%, 40%) |
| HSV | hsv(248, 74%, 63%) |
| CMYK | cmyk(64%, 73.9%, 0%, 36.9%) |
| CIE-LAB | lab(27.10, 42.17, -61.68) |
| CIE-LCH | lch(27.10, 74.72, 304.36°) |
| OKLab | oklab(38.99% 0.0314 -0.178) |
| OKLCH | oklch(38.99% 0.181 280) |
| XYZ | xyz(9.0039, 5.1280, 34.2266) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.88
Sapphire (survey)
#2138AB
ΔE00 5.20
Royal
#0C1793
ΔE00 5.80
Cobalt Blue
#030AA7
ΔE00 6.40
Ultramarine
#2000B1
ΔE00 6.44
True Blue
#010FCC
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2AA1 #91A12A
analogous
#2A56A1 #3A2AA1 #752AA1
triadic
#3A2AA1 #A13A2A #2AA13A
tetradic
#3A2AA1 #A12A56 #91A12A #2AA175
square
#3A2AA1 #A12A56 #91A12A #2AA175
split-complementary
#3A2AA1 #A1752A #56A12A
monochromatic
#171140 #291D70 #3A2AA1 #4F3CCC #7B6DD9
Accessibility & contrast
On white
10.37
#3A2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#3A2AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2AA1
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2AA1 | 1.00 | 10.37 | 2.03 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#003B9F
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3a2aa1; /* rgb */ color: rgb(58, 42, 161); /* oklch */ color: oklch(39.0% 0.181 280.0);
Tailwind
colors: {
custom: {
50: '#7e66be',
500: '#3a2aa1',
950: '#000000',
},
}SCSS
$custom: #3a2aa1; $custom-light: #7e66be; $custom-dark: #000000;
JSON
{
"hex": "#3a2aa1",
"rgb": {
"r": 58,
"g": 42,
"b": 161
},
"hsl": {
"h": 248.067,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.38987,
"c": 0.18074,
"h": 280
},
"luminance": 0.05129
}Semantic roles & 50–950 ramp
primary
#3A2AA1
secondary
#B4C067
accent
#E246CD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81