#3A2CA0#3A2CA0
#3A2CA0 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.177 H 279.8°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2CA0 |
|---|---|
| RGB | rgb(58, 44, 160) |
| HSL | hsl(247, 57%, 40%) |
| HSV | hsv(247, 73%, 63%) |
| CMYK | cmyk(63.8%, 72.5%, 0%, 37.3%) |
| CIE-LAB | lab(27.40, 40.72, -60.57) |
| CIE-LCH | lch(27.40, 72.99, 303.91°) |
| OKLab | oklab(39.17% 0.0302 -0.1747) |
| OKLCH | oklch(39.17% 0.177 279.8) |
| XYZ | xyz(8.9887, 5.2383, 33.7883) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.37
Sapphire (survey)
#2138AB
ΔE00 4.84
Royal
#0C1793
ΔE00 6.07
Blueberry
#464196
ΔE00 6.36
Darkslateblue
#483D8B
ΔE00 6.53
Ocean Blue
#4F42B5
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2CA0 #92A02C
analogous
#2C58A0 #3A2CA0 #742CA0
triadic
#3A2CA0 #A03A2C #2CA03A
tetradic
#3A2CA0 #A02C58 #92A02C #2CA074
square
#3A2CA0 #A02C58 #92A02C #2CA074
split-complementary
#3A2CA0 #A0742C #58A02C
monochromatic
#171240 #291F70 #3A2CA0 #503FCA #7C6FD7
Accessibility & contrast
On white
10.25
#3A2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#3A2CA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2CA0
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2CA0 | 1.00 | 10.25 | 2.05 | 10.25 |
| #FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3a2ca0; /* rgb */ color: rgb(58, 44, 160); /* oklch */ color: oklch(39.2% 0.177 279.8);
Tailwind
colors: {
custom: {
50: '#7d67bd',
500: '#3a2ca0',
950: '#000000',
},
}SCSS
$custom: #3a2ca0; $custom-light: #7d67bd; $custom-dark: #000000;
JSON
{
"hex": "#3a2ca0",
"rgb": {
"r": 58,
"g": 44,
"b": 160
},
"hsl": {
"h": 247.241,
"s": 56.863,
"l": 40
},
"oklch": {
"l": 0.39175,
"c": 0.17733,
"h": 279.8
},
"luminance": 0.05239
}Semantic roles & 50–950 ramp
primary
#3A2CA0
secondary
#B4BF69
accent
#E048CE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81