#3A2FA0#3A2FA0
#3A2FA0 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.174 H 279.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2FA0 |
|---|---|
| RGB | rgb(58, 47, 160) |
| HSL | hsl(246, 55%, 41%) |
| HSV | hsv(246, 71%, 63%) |
| CMYK | cmyk(63.8%, 70.6%, 0%, 37.3%) |
| CIE-LAB | lab(28.03, 38.98, -59.54) |
| CIE-LCH | lch(28.03, 71.16, 303.21°) |
| OKLab | oklab(39.63% 0.028 -0.1717) |
| OKLCH | oklch(39.63% 0.174 279.3) |
| XYZ | xyz(9.1046, 5.4699, 33.8269) |
| Luminance | 0.0547 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.27
Indigo Blue
#3A18B1
ΔE00 5.04
Blueberry
#464196
ΔE00 5.67
Darkslateblue
#483D8B
ΔE00 6.00
Ocean Blue
#4F42B5
ΔE00 6.16
Royal
#0C1793
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2FA0 #95A02F
analogous
#2F5CA0 #3A2FA0 #722FA0
triadic
#3A2FA0 #A03A2F #2FA03A
tetradic
#3A2FA0 #A02F5C #95A02F #2FA072
square
#3A2FA0 #A02F5C #95A02F #2FA072
split-complementary
#3A2FA0 #A0722F #5CA02F
monochromatic
#181341 #292171 #3A2FA0 #5144C8 #7D73D6
Accessibility & contrast
On white
10.03
#3A2FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#3A2FA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2FA0
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2FA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2FA0 | 1.00 | 10.03 | 2.09 | 10.03 |
| #FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#003E9E
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3a2fa0; /* rgb */ color: rgb(58, 47, 160); /* oklch */ color: oklch(39.6% 0.174 279.3);
Tailwind
colors: {
custom: {
50: '#7d69bd',
500: '#3a2fa0',
950: '#000000',
},
}SCSS
$custom: #3a2fa0; $custom-light: #7d69bd; $custom-dark: #000000;
JSON
{
"hex": "#3a2fa0",
"rgb": {
"r": 58,
"g": 47,
"b": 160
},
"hsl": {
"h": 245.841,
"s": 54.589,
"l": 40.588
},
"oklch": {
"l": 0.39625,
"c": 0.17399,
"h": 279.3
},
"luminance": 0.05471
}Semantic roles & 50–950 ramp
primary
#3A2FA0
secondary
#B6BE6D
accent
#DE4AD0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81