#3A2EC2#3A2EC2
#3A2EC2 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.9% C 0.217 H 275.8°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2EC2 |
|---|---|
| RGB | rgb(58, 46, 194) |
| HSL | hsl(245, 62%, 47%) |
| HSV | hsv(245, 76%, 76%) |
| CMYK | cmyk(70.1%, 76.3%, 0%, 23.9%) |
| CIE-LAB | lab(31.22, 50.42, -74.58) |
| CIE-LCH | lch(31.22, 90.02, 304.06°) |
| OKLab | oklab(42.91% 0.0217 -0.2156) |
| OKLCH | oklch(42.91% 0.217 275.8) |
| XYZ | xyz(12.4563, 6.7474, 51.6744) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 4.37
Blurple
#5539CC
ΔE00 4.38
Indigo Blue
#3A18B1
ΔE00 4.79
Purple Blue
#5D21D0
ΔE00 4.98
Violet Blue
#510AC9
ΔE00 5.18
Sapphire (survey)
#2138AB
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2EC2 #B6C22E
analogous
#2E6CC2 #3A2EC2 #842EC2
triadic
#3A2EC2 #C23A2E #2EC23A
tetradic
#3A2EC2 #C22E6C #B6C22E #2EC284
square
#3A2EC2 #C22E6C #B6C22E #2EC284
split-complementary
#3A2EC2 #C2842E #6CC22E
monochromatic
#1C175F #2B2291 #3A2EC2 #6156D7 #8F88E3
Accessibility & contrast
On white
8.94
#3A2EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#3A2EC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2EC2
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2EC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2EC2 | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050C6
Deuteranopia (green-blind)
#0043BF
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #3a2ec2; /* rgb */ color: rgb(58, 46, 194); /* oklch */ color: oklch(42.9% 0.217 275.8);
Tailwind
colors: {
custom: {
50: '#846ad6',
500: '#3a2ec2',
950: '#000000',
},
}SCSS
$custom: #3a2ec2; $custom-light: #846ad6; $custom-dark: #000000;
JSON
{
"hex": "#3a2ec2",
"rgb": {
"r": 58,
"g": 46,
"b": 194
},
"hsl": {
"h": 244.865,
"s": 61.667,
"l": 47.059
},
"oklch": {
"l": 0.42907,
"c": 0.21671,
"h": 275.8
},
"luminance": 0.06749
}Semantic roles & 50–950 ramp
primary
#3A2EC2
secondary
#C6CC7F
accent
#E543D8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0714
muted
#7D7A83