#3A2FB5#3A2FB5
#3A2FB5 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.7% C 0.200 H 276.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2FB5 |
|---|---|
| RGB | rgb(58, 47, 181) |
| HSL | hsl(245, 59%, 45%) |
| HSV | hsv(245, 74%, 71%) |
| CMYK | cmyk(68%, 74%, 0%, 29%) |
| CIE-LAB | lab(30.08, 45.78, -68.79) |
| CIE-LCH | lch(30.08, 82.63, 303.64°) |
| OKLab | oklab(41.7% 0.024 -0.1987) |
| OKLCH | oklch(41.7% 0.2 276.9) |
| XYZ | xyz(11.0992, 6.2678, 44.3320) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.34
Indigo Blue
#3A18B1
ΔE00 4.41
Blue With A Hint Of Purple
#533CC6
ΔE00 5.03
Ocean Blue
#4F42B5
ΔE00 5.28
Blurple
#5539CC
ΔE00 5.32
True Blue
#010FCC
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2FB5 #AAB52F
analogous
#2F67B5 #3A2FB5 #7D2FB5
triadic
#3A2FB5 #B53A2F #2FB53A
tetradic
#3A2FB5 #B52F67 #AAB52F #2FB57D
square
#3A2FB5 #B52F67 #AAB52F #2FB57D
split-complementary
#3A2FB5 #B57D2F #67B52F
monochromatic
#1B1654 #2A2284 #3A2FB5 #5A50D1 #8880DE
Accessibility & contrast
On white
9.32
#3A2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#3A2FB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2FB5
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2FB5 | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB9
Deuteranopia (green-blind)
#0041B3
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #3a2fb5; /* rgb */ color: rgb(58, 47, 181); /* oklch */ color: oklch(41.7% 0.200 276.9);
Tailwind
colors: {
custom: {
50: '#816acc',
500: '#3a2fb5',
950: '#000000',
},
}SCSS
$custom: #3a2fb5; $custom-light: #816acc; $custom-dark: #000000;
JSON
{
"hex": "#3a2fb5",
"rgb": {
"r": 58,
"g": 47,
"b": 181
},
"hsl": {
"h": 244.925,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.417,
"c": 0.2002,
"h": 276.9
},
"luminance": 0.06269
}Semantic roles & 50–950 ramp
primary
#3A2FB5
secondary
#C1C779
accent
#E246D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82