#3A2CA4#3A2CA4
#3A2CA4 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.182 H 279.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2CA4 |
|---|---|
| RGB | rgb(58, 44, 164) |
| HSL | hsl(247, 58%, 41%) |
| HSV | hsv(247, 73%, 64%) |
| CMYK | cmyk(64.6%, 73.2%, 0%, 35.7%) |
| CIE-LAB | lab(27.79, 42.01, -62.36) |
| CIE-LCH | lch(27.79, 75.19, 303.97°) |
| OKLab | oklab(39.57% 0.0294 -0.18) |
| OKLCH | oklch(39.57% 0.182 279.3) |
| XYZ | xyz(9.3443, 5.3805, 35.6609) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.08
Sapphire (survey)
#2138AB
ΔE00 4.71
Royal
#0C1793
ΔE00 6.26
Ocean Blue
#4F42B5
ΔE00 6.47
Blueberry
#464196
ΔE00 6.54
True Blue
#010FCC
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2CA4 #96A42C
analogous
#2C5AA4 #3A2CA4 #762CA4
triadic
#3A2CA4 #A43A2C #2CA43A
tetradic
#3A2CA4 #A42C5A #96A42C #2CA476
square
#3A2CA4 #A42C5A #96A42C #2CA476
split-complementary
#3A2CA4 #A4762C #5AA42C
monochromatic
#181243 #291F74 #3A2CA4 #5141CC #7D71D9
Accessibility & contrast
On white
10.11
#3A2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#3A2CA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2CA4
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2CA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2CA4 | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003DA2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3a2ca4; /* rgb */ color: rgb(58, 44, 164); /* oklch */ color: oklch(39.6% 0.182 279.3);
Tailwind
colors: {
custom: {
50: '#7e67c0',
500: '#3a2ca4',
950: '#000000',
},
}SCSS
$custom: #3a2ca4; $custom-light: #7e67c0; $custom-dark: #000000;
JSON
{
"hex": "#3a2ca4",
"rgb": {
"r": 58,
"g": 44,
"b": 164
},
"hsl": {
"h": 247,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.3957,
"c": 0.18235,
"h": 279.3
},
"luminance": 0.05381
}Semantic roles & 50–950 ramp
primary
#3A2CA4
secondary
#B6C06B
accent
#E147CF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81