#3A2EA4#3A2EA4
#3A2EA4 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.180 H 278.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2EA4 |
|---|---|
| RGB | rgb(58, 46, 164) |
| HSL | hsl(246, 56%, 41%) |
| HSV | hsv(246, 72%, 64%) |
| CMYK | cmyk(64.6%, 72%, 0%, 35.7%) |
| CIE-LAB | lab(28.20, 40.86, -61.68) |
| CIE-LCH | lch(28.20, 73.99, 303.52°) |
| OKLab | oklab(39.86% 0.028 -0.178) |
| OKLCH | oklch(39.86% 0.18 278.9) |
| XYZ | xyz(9.4206, 5.5331, 35.6863) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.32
Indigo Blue
#3A18B1
ΔE00 4.53
Ocean Blue
#4F42B5
ΔE00 6.09
Blueberry
#464196
ΔE00 6.11
Darkslateblue
#483D8B
ΔE00 6.54
Royal
#0C1793
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2EA4 #98A42E
analogous
#2E5DA4 #3A2EA4 #752EA4
triadic
#3A2EA4 #A43A2E #2EA43A
tetradic
#3A2EA4 #A42E5D #98A42E #2EA475
square
#3A2EA4 #A42E5D #98A42E #2EA475
split-complementary
#3A2EA4 #A4752E #5DA42E
monochromatic
#181344 #292174 #3A2EA4 #5245CB #7E74D8
Accessibility & contrast
On white
9.97
#3A2EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#3A2EA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2EA4
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2EA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2EA4 | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #3a2ea4; /* rgb */ color: rgb(58, 46, 164); /* oklch */ color: oklch(39.9% 0.180 278.9);
Tailwind
colors: {
custom: {
50: '#7e68c0',
500: '#3a2ea4',
950: '#000000',
},
}SCSS
$custom: #3a2ea4; $custom-light: #7e68c0; $custom-dark: #000000;
JSON
{
"hex": "#3a2ea4",
"rgb": {
"r": 58,
"g": 46,
"b": 164
},
"hsl": {
"h": 246.102,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.39862,
"c": 0.18019,
"h": 278.9
},
"luminance": 0.05534
}Semantic roles & 50–950 ramp
primary
#3A2EA4
secondary
#B8C06E
accent
#DF48D0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81