#3A2CA6#3A2CA6
#3A2CA6 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.185 H 279.0°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2CA6 |
|---|---|
| RGB | rgb(58, 44, 166) |
| HSL | hsl(247, 58%, 41%) |
| HSV | hsv(247, 73%, 65%) |
| CMYK | cmyk(65.1%, 73.5%, 0%, 34.9%) |
| CIE-LAB | lab(27.99, 42.65, -63.24) |
| CIE-LCH | lch(27.99, 76.28, 303.99°) |
| OKLab | oklab(39.77% 0.029 -0.1825) |
| OKLCH | oklch(39.77% 0.185 279) |
| XYZ | xyz(9.5263, 5.4533, 36.6196) |
| Luminance | 0.0545 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.96
Sapphire (survey)
#2138AB
ΔE00 4.66
Ocean Blue
#4F42B5
ΔE00 6.36
Royal
#0C1793
ΔE00 6.37
True Blue
#010FCC
ΔE00 6.45
Blueberry
#464196
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2CA6 #98A62C
analogous
#2C5BA6 #3A2CA6 #772CA6
triadic
#3A2CA6 #A63A2C #2CA63A
tetradic
#3A2CA6 #A62C5B #98A62C #2CA677
square
#3A2CA6 #A62C5B #98A62C #2CA677
split-complementary
#3A2CA6 #A6772C #5BA62C
monochromatic
#181245 #291F76 #3A2CA6 #5242CD #7E73DA
Accessibility & contrast
On white
10.04
#3A2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#3A2CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2CA6
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2CA6 | 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)
#0047AA
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3a2ca6; /* rgb */ color: rgb(58, 44, 166); /* oklch */ color: oklch(39.8% 0.185 279.0);
Tailwind
colors: {
custom: {
50: '#7e67c2',
500: '#3a2ca6',
950: '#000000',
},
}SCSS
$custom: #3a2ca6; $custom-light: #7e67c2; $custom-dark: #000000;
JSON
{
"hex": "#3a2ca6",
"rgb": {
"r": 58,
"g": 44,
"b": 166
},
"hsl": {
"h": 246.885,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.39769,
"c": 0.18484,
"h": 279
},
"luminance": 0.05454
}Semantic roles & 50–950 ramp
primary
#3A2CA6
secondary
#B8C16D
accent
#E146D0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81