#3A2EA2#3A2EA2
#3A2EA2 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.178 H 279.2°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2EA2 |
|---|---|
| RGB | rgb(58, 46, 162) |
| HSL | hsl(246, 56%, 41%) |
| HSV | hsv(246, 72%, 64%) |
| CMYK | cmyk(64.2%, 71.6%, 0%, 36.5%) |
| CIE-LAB | lab(28.01, 40.21, -60.79) |
| CIE-LCH | lch(28.01, 72.88, 303.49°) |
| OKLab | oklab(39.67% 0.0284 -0.1754) |
| OKLCH | oklch(39.67% 0.178 279.2) |
| XYZ | xyz(9.2414, 5.4614, 34.7426) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.38
Indigo Blue
#3A18B1
ΔE00 4.66
Blueberry
#464196
ΔE00 6.00
Ocean Blue
#4F42B5
ΔE00 6.21
Darkslateblue
#483D8B
ΔE00 6.35
Royal
#0C1793
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2EA2 #96A22E
analogous
#2E5CA2 #3A2EA2 #742EA2
triadic
#3A2EA2 #A23A2E #2EA23A
tetradic
#3A2EA2 #A22E5C #96A22E #2EA274
square
#3A2EA2 #A22E5C #96A22E #2EA274
split-complementary
#3A2EA2 #A2742E #5CA22E
monochromatic
#181343 #292072 #3A2EA2 #5143CA #7D73D7
Accessibility & contrast
On white
10.04
#3A2EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#3A2EA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2EA2
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2EA2 | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3a2ea2; /* rgb */ color: rgb(58, 46, 162); /* oklch */ color: oklch(39.7% 0.178 279.2);
Tailwind
colors: {
custom: {
50: '#7d68bf',
500: '#3a2ea2',
950: '#000000',
},
}SCSS
$custom: #3a2ea2; $custom-light: #7d68bf; $custom-dark: #000000;
JSON
{
"hex": "#3a2ea2",
"rgb": {
"r": 58,
"g": 46,
"b": 162
},
"hsl": {
"h": 246.207,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.39667,
"c": 0.17766,
"h": 279.2
},
"luminance": 0.05462
}Semantic roles & 50–950 ramp
primary
#3A2EA2
secondary
#B6BF6D
accent
#DF49D0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81