#3A2FB1#3A2FB1
#3A2FB1 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.3% C 0.195 H 277.3°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2FB1 |
|---|---|
| RGB | rgb(58, 47, 177) |
| HSL | hsl(245, 58%, 44%) |
| HSV | hsv(245, 73%, 69%) |
| CMYK | cmyk(67.2%, 73.4%, 0%, 30.6%) |
| CIE-LAB | lab(29.68, 44.50, -67.06) |
| CIE-LCH | lch(29.68, 80.48, 303.56°) |
| OKLab | oklab(41.3% 0.0248 -0.1937) |
| OKLCH | oklch(41.3% 0.195 277.3) |
| XYZ | xyz(10.6947, 6.1060, 42.2014) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.18
Indigo Blue
#3A18B1
ΔE00 4.37
Blue With A Hint Of Purple
#533CC6
ΔE00 5.35
Ocean Blue
#4F42B5
ΔE00 5.36
Blurple
#5539CC
ΔE00 5.71
True Blue
#010FCC
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2FB1 #A6B12F
analogous
#2F65B1 #3A2FB1 #7B2FB1
triadic
#3A2FB1 #B13A2F #2FB13A
tetradic
#3A2FB1 #B12F65 #A6B12F #2FB17B
square
#3A2FB1 #B12F65 #A6B12F #2FB17B
split-complementary
#3A2FB1 #B17B2F #65B12F
monochromatic
#1A1550 #2A2281 #3A2FB1 #584DD0 #867EDD
Accessibility & contrast
On white
9.45
#3A2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#3A2FB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2FB1
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2FB1 | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #3a2fb1; /* rgb */ color: rgb(58, 47, 177); /* oklch */ color: oklch(41.3% 0.195 277.3);
Tailwind
colors: {
custom: {
50: '#806aca',
500: '#3a2fb1',
950: '#000000',
},
}SCSS
$custom: #3a2fb1; $custom-light: #806aca; $custom-dark: #000000;
JSON
{
"hex": "#3a2fb1",
"rgb": {
"r": 58,
"g": 47,
"b": 177
},
"hsl": {
"h": 245.077,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.41296,
"c": 0.1953,
"h": 277.3
},
"luminance": 0.06107
}Semantic roles & 50–950 ramp
primary
#3A2FB1
secondary
#BFC576
accent
#E147D4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82