#3A2CA3#3A2CA3
#3A2CA3 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.181 H 279.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2CA3 |
|---|---|
| RGB | rgb(58, 44, 163) |
| HSL | hsl(247, 57%, 41%) |
| HSV | hsv(247, 73%, 64%) |
| CMYK | cmyk(64.4%, 73%, 0%, 36.1%) |
| CIE-LAB | lab(27.69, 41.69, -61.91) |
| CIE-LCH | lch(27.69, 74.64, 303.95°) |
| OKLab | oklab(39.47% 0.0296 -0.1787) |
| OKLCH | oklch(39.47% 0.181 279.4) |
| XYZ | xyz(9.2544, 5.3445, 35.1871) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.14
Sapphire (survey)
#2138AB
ΔE00 4.74
Royal
#0C1793
ΔE00 6.21
Blueberry
#464196
ΔE00 6.49
Ocean Blue
#4F42B5
ΔE00 6.52
True Blue
#010FCC
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2CA3 #95A32C
analogous
#2C59A3 #3A2CA3 #752CA3
triadic
#3A2CA3 #A33A2C #2CA33A
tetradic
#3A2CA3 #A32C59 #95A32C #2CA375
square
#3A2CA3 #A32C59 #95A32C #2CA375
split-complementary
#3A2CA3 #A3752C #59A32C
monochromatic
#181243 #291F73 #3A2CA3 #5141CC #7D71D9
Accessibility & contrast
On white
10.15
#3A2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#3A2CA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2CA3
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2CA3 | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#003DA1
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3a2ca3; /* rgb */ color: rgb(58, 44, 163); /* oklch */ color: oklch(39.5% 0.181 279.4);
Tailwind
colors: {
custom: {
50: '#7e67bf',
500: '#3a2ca3',
950: '#000000',
},
}SCSS
$custom: #3a2ca3; $custom-light: #7e67bf; $custom-dark: #000000;
JSON
{
"hex": "#3a2ca3",
"rgb": {
"r": 58,
"g": 44,
"b": 163
},
"hsl": {
"h": 247.059,
"s": 57.488,
"l": 40.588
},
"oklch": {
"l": 0.39471,
"c": 0.1811,
"h": 279.4
},
"luminance": 0.05345
}Semantic roles & 50–950 ramp
primary
#3A2CA3
secondary
#B6C06B
accent
#E147CF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81