#3A2AA2#3A2AA2
#3A2AA2 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.182 H 279.9°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2AA2 |
|---|---|
| RGB | rgb(58, 42, 162) |
| HSL | hsl(248, 59%, 40%) |
| HSV | hsv(248, 74%, 64%) |
| CMYK | cmyk(64.2%, 74.1%, 0%, 36.5%) |
| CIE-LAB | lab(27.20, 42.49, -62.13) |
| CIE-LCH | lch(27.20, 75.27, 304.37°) |
| OKLab | oklab(39.09% 0.0312 -0.1793) |
| OKLCH | oklch(39.09% 0.182 279.9) |
| XYZ | xyz(9.0924, 5.1634, 34.6929) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.80
Sapphire (survey)
#2138AB
ΔE00 5.16
Royal
#0C1793
ΔE00 5.85
Cobalt Blue
#030AA7
ΔE00 6.39
Ultramarine
#2000B1
ΔE00 6.39
True Blue
#010FCC
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2AA2 #92A22A
analogous
#2A56A2 #3A2AA2 #762AA2
triadic
#3A2AA2 #A23A2A #2AA23A
tetradic
#3A2AA2 #A22A56 #92A22A #2AA276
square
#3A2AA2 #A22A56 #92A22A #2AA276
split-complementary
#3A2AA2 #A2762A #56A22A
monochromatic
#171141 #291D71 #3A2AA2 #503DCD #7C6DD9
Accessibility & contrast
On white
10.33
#3A2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#3A2AA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2AA2
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2AA2 | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A6
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3a2aa2; /* rgb */ color: rgb(58, 42, 162); /* oklch */ color: oklch(39.1% 0.182 279.9);
Tailwind
colors: {
custom: {
50: '#7e66bf',
500: '#3a2aa2',
950: '#000000',
},
}SCSS
$custom: #3a2aa2; $custom-light: #7e66bf; $custom-dark: #000000;
JSON
{
"hex": "#3a2aa2",
"rgb": {
"r": 58,
"g": 42,
"b": 162
},
"hsl": {
"h": 248,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.39087,
"c": 0.18198,
"h": 279.9
},
"luminance": 0.05164
}Semantic roles & 50–950 ramp
primary
#3A2AA2
secondary
#B4C068
accent
#E246CD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81