#3A2CA2#3A2CA2
#3A2CA2 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.180 H 279.5°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2CA2 |
|---|---|
| RGB | rgb(58, 44, 162) |
| HSL | hsl(247, 57%, 40%) |
| HSV | hsv(247, 73%, 64%) |
| CMYK | cmyk(64.2%, 72.8%, 0%, 36.5%) |
| CIE-LAB | lab(27.60, 41.36, -61.47) |
| CIE-LCH | lch(27.60, 74.09, 303.94°) |
| OKLab | oklab(39.37% 0.0298 -0.1774) |
| OKLCH | oklch(39.37% 0.18 279.5) |
| XYZ | xyz(9.1651, 5.3088, 34.7171) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.22
Sapphire (survey)
#2138AB
ΔE00 4.77
Royal
#0C1793
ΔE00 6.16
Blueberry
#464196
ΔE00 6.45
Ocean Blue
#4F42B5
ΔE00 6.58
Darkslateblue
#483D8B
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2CA2 #94A22C
analogous
#2C59A2 #3A2CA2 #752CA2
triadic
#3A2CA2 #A23A2C #2CA23A
tetradic
#3A2CA2 #A22C59 #94A22C #2CA275
square
#3A2CA2 #A22C59 #94A22C #2CA275
split-complementary
#3A2CA2 #A2752C #59A22C
monochromatic
#181242 #291F72 #3A2CA2 #5140CB #7D70D8
Accessibility & contrast
On white
10.18
#3A2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#3A2CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2CA2
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2CA2 | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3a2ca2; /* rgb */ color: rgb(58, 44, 162); /* oklch */ color: oklch(39.4% 0.180 279.5);
Tailwind
colors: {
custom: {
50: '#7e67bf',
500: '#3a2ca2',
950: '#000000',
},
}SCSS
$custom: #3a2ca2; $custom-light: #7e67bf; $custom-dark: #000000;
JSON
{
"hex": "#3a2ca2",
"rgb": {
"r": 58,
"g": 44,
"b": 162
},
"hsl": {
"h": 247.119,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.39372,
"c": 0.17985,
"h": 279.5
},
"luminance": 0.0531
}Semantic roles & 50–950 ramp
primary
#3A2CA2
secondary
#B5BF6A
accent
#E147CE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81