#3A2BB1#3A2BB1
#3A2BB1 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.7% C 0.199 H 277.8°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2BB1 |
|---|---|
| RGB | rgb(58, 43, 177) |
| HSL | hsl(247, 61%, 43%) |
| HSV | hsv(247, 76%, 69%) |
| CMYK | cmyk(67.2%, 75.7%, 0%, 30.6%) |
| CIE-LAB | lab(28.90, 46.68, -68.34) |
| CIE-LCH | lch(28.90, 82.76, 304.34°) |
| OKLab | oklab(40.75% 0.0272 -0.1974) |
| OKLCH | oklch(40.75% 0.199 277.8) |
| XYZ | xyz(10.5420, 5.8007, 42.1505) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.45
Sapphire (survey)
#2138AB
ΔE00 4.90
True Blue
#010FCC
ΔE00 5.41
Violet Blue
#510AC9
ΔE00 5.55
Blue With A Hint Of Purple
#533CC6
ΔE00 5.88
Blurple
#5539CC
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2BB1 #A2B12B
analogous
#2B5FB1 #3A2BB1 #7D2BB1
triadic
#3A2BB1 #B13A2B #2BB13A
tetradic
#3A2BB1 #B12B5F #A2B12B #2BB17D
square
#3A2BB1 #B12B5F #A2B12B #2BB17D
split-complementary
#3A2BB1 #B17D2B #5FB12B
monochromatic
#1A134F #2A1F80 #3A2BB1 #5747D2 #8478DE
Accessibility & contrast
On white
9.72
#3A2BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#3A2BB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2BB1
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2BB1 | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003FAF
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #3a2bb1; /* rgb */ color: rgb(58, 43, 177); /* oklch */ color: oklch(40.7% 0.199 277.8);
Tailwind
colors: {
custom: {
50: '#8167ca',
500: '#3a2bb1',
950: '#000000',
},
}SCSS
$custom: #3a2bb1; $custom-light: #8167ca; $custom-dark: #000000;
JSON
{
"hex": "#3a2bb1",
"rgb": {
"r": 58,
"g": 43,
"b": 177
},
"hsl": {
"h": 246.716,
"s": 60.909,
"l": 43.137
},
"oklch": {
"l": 0.40749,
"c": 0.19929,
"h": 277.8
},
"luminance": 0.05802
}Semantic roles & 50–950 ramp
primary
#3A2BB1
secondary
#BDC672
accent
#E444D2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82