#3A2E9E#3A2E9E
#3A2E9E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.173 H 279.7°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2E9E |
|---|---|
| RGB | rgb(58, 46, 158) |
| HSL | hsl(246, 55%, 40%) |
| HSV | hsv(246, 71%, 62%) |
| CMYK | cmyk(63.3%, 70.9%, 0%, 38%) |
| CIE-LAB | lab(27.63, 38.91, -58.98) |
| CIE-LCH | lch(27.63, 70.66, 303.41°) |
| OKLab | oklab(39.28% 0.0291 -0.1701) |
| OKLCH | oklch(39.28% 0.173 279.7) |
| XYZ | xyz(8.8915, 5.3215, 32.8997) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.56
Indigo Blue
#3A18B1
ΔE00 4.98
Blueberry
#464196
ΔE00 5.81
Darkslateblue
#483D8B
ΔE00 6.00
Royal
#0C1793
ΔE00 6.36
Ocean Blue
#4F42B5
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2E9E #929E2E
analogous
#2E5A9E #3A2E9E #722E9E
triadic
#3A2E9E #9E3A2E #2E9E3A
tetradic
#3A2E9E #9E2E5A #929E2E #2E9E72
square
#3A2E9E #9E2E5A #929E2E #2E9E72
split-complementary
#3A2E9E #9E722E #5A9E2E
monochromatic
#17123F #29206F #3A2E9E #5041C8 #7C71D6
Accessibility & contrast
On white
10.17
#3A2E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#3A2E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2E9E
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2E9E | 1.00 | 10.17 | 2.06 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3a2e9e; /* rgb */ color: rgb(58, 46, 158); /* oklch */ color: oklch(39.3% 0.173 279.7);
Tailwind
colors: {
custom: {
50: '#7d68bc',
500: '#3a2e9e',
950: '#000000',
},
}SCSS
$custom: #3a2e9e; $custom-light: #7d68bc; $custom-dark: #000000;
JSON
{
"hex": "#3a2e9e",
"rgb": {
"r": 58,
"g": 46,
"b": 158
},
"hsl": {
"h": 246.429,
"s": 54.902,
"l": 40
},
"oklch": {
"l": 0.3928,
"c": 0.17256,
"h": 279.7
},
"luminance": 0.05322
}Semantic roles & 50–950 ramp
primary
#3A2E9E
secondary
#B4BD6B
accent
#DE4ACE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81