#3A2CA1#3A2CA1
#3A2CA1 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.179 H 279.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2CA1 |
|---|---|
| RGB | rgb(58, 44, 161) |
| HSL | hsl(247, 57%, 40%) |
| HSV | hsv(247, 73%, 63%) |
| CMYK | cmyk(64%, 72.7%, 0%, 36.9%) |
| CIE-LAB | lab(27.50, 41.04, -61.02) |
| CIE-LCH | lch(27.50, 73.54, 303.92°) |
| OKLab | oklab(39.27% 0.03 -0.1761) |
| OKLCH | oklch(39.27% 0.179 279.7) |
| XYZ | xyz(9.0766, 5.2734, 34.2509) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.29
Sapphire (survey)
#2138AB
ΔE00 4.80
Royal
#0C1793
ΔE00 6.11
Blueberry
#464196
ΔE00 6.40
Darkslateblue
#483D8B
ΔE00 6.61
Ocean Blue
#4F42B5
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2CA1 #93A12C
analogous
#2C59A1 #3A2CA1 #742CA1
triadic
#3A2CA1 #A13A2C #2CA13A
tetradic
#3A2CA1 #A12C59 #93A12C #2CA174
square
#3A2CA1 #A12C59 #93A12C #2CA174
split-complementary
#3A2CA1 #A1742C #59A12C
monochromatic
#171241 #291F71 #3A2CA1 #5040CB #7C70D8
Accessibility & contrast
On white
10.22
#3A2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#3A2CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2CA1
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2CA1 | 1.00 | 10.22 | 2.05 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3a2ca1; /* rgb */ color: rgb(58, 44, 161); /* oklch */ color: oklch(39.3% 0.179 279.7);
Tailwind
colors: {
custom: {
50: '#7d67be',
500: '#3a2ca1',
950: '#000000',
},
}SCSS
$custom: #3a2ca1; $custom-light: #7d67be; $custom-dark: #000000;
JSON
{
"hex": "#3a2ca1",
"rgb": {
"r": 58,
"g": 44,
"b": 161
},
"hsl": {
"h": 247.179,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.39273,
"c": 0.17859,
"h": 279.7
},
"luminance": 0.05274
}Semantic roles & 50–950 ramp
primary
#3A2CA1
secondary
#B5BF6A
accent
#E047CE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81