#3A2EA0#3A2EA0
#3A2EA0 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.175 H 279.4°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2EA0 |
|---|---|
| RGB | rgb(58, 46, 160) |
| HSL | hsl(246, 55%, 40%) |
| HSV | hsv(246, 71%, 63%) |
| CMYK | cmyk(63.8%, 71.2%, 0%, 37.3%) |
| CIE-LAB | lab(27.82, 39.56, -59.89) |
| CIE-LCH | lch(27.82, 71.77, 303.45°) |
| OKLab | oklab(39.47% 0.0288 -0.1727) |
| OKLCH | oklch(39.47% 0.175 279.4) |
| XYZ | xyz(9.0651, 5.3909, 33.8137) |
| Luminance | 0.0539 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.46
Indigo Blue
#3A18B1
ΔE00 4.81
Blueberry
#464196
ΔE00 5.90
Darkslateblue
#483D8B
ΔE00 6.17
Ocean Blue
#4F42B5
ΔE00 6.34
Royal
#0C1793
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2EA0 #94A02E
analogous
#2E5BA0 #3A2EA0 #732EA0
triadic
#3A2EA0 #A03A2E #2EA03A
tetradic
#3A2EA0 #A02E5B #94A02E #2EA073
square
#3A2EA0 #A02E5B #94A02E #2EA073
split-complementary
#3A2EA0 #A0732E #5BA02E
monochromatic
#181341 #292070 #3A2EA0 #5142C9 #7D72D6
Accessibility & contrast
On white
10.10
#3A2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#3A2EA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2EA0
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2EA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2EA0 | 1.00 | 10.10 | 2.08 | 10.10 |
| #FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3a2ea0; /* rgb */ color: rgb(58, 46, 160); /* oklch */ color: oklch(39.5% 0.175 279.4);
Tailwind
colors: {
custom: {
50: '#7d68bd',
500: '#3a2ea0',
950: '#000000',
},
}SCSS
$custom: #3a2ea0; $custom-light: #7d68bd; $custom-dark: #000000;
JSON
{
"hex": "#3a2ea0",
"rgb": {
"r": 58,
"g": 46,
"b": 160
},
"hsl": {
"h": 246.316,
"s": 55.34,
"l": 40.392
},
"oklch": {
"l": 0.39473,
"c": 0.17512,
"h": 279.4
},
"luminance": 0.05392
}Semantic roles & 50–950 ramp
primary
#3A2EA0
secondary
#B5BE6C
accent
#DF49CF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81