#3A2FB4#3A2FB4
#3A2FB4 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.6% C 0.199 H 277.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2FB4 |
|---|---|
| RGB | rgb(58, 47, 180) |
| HSL | hsl(245, 59%, 45%) |
| HSV | hsv(245, 74%, 71%) |
| CMYK | cmyk(67.8%, 73.9%, 0%, 29.4%) |
| CIE-LAB | lab(29.98, 45.46, -68.36) |
| CIE-LCH | lch(29.98, 82.10, 303.62°) |
| OKLab | oklab(41.6% 0.0242 -0.1975) |
| OKLCH | oklch(41.6% 0.199 277) |
| XYZ | xyz(10.9970, 6.2269, 43.7935) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.30
Indigo Blue
#3A18B1
ΔE00 4.39
Blue With A Hint Of Purple
#533CC6
ΔE00 5.11
Ocean Blue
#4F42B5
ΔE00 5.30
Blurple
#5539CC
ΔE00 5.42
True Blue
#010FCC
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2FB4 #A9B42F
analogous
#2F67B4 #3A2FB4 #7C2FB4
triadic
#3A2FB4 #B43A2F #2FB43A
tetradic
#3A2FB4 #B42F67 #A9B42F #2FB47C
square
#3A2FB4 #B42F67 #A9B42F #2FB47C
split-complementary
#3A2FB4 #B47C2F #67B42F
monochromatic
#1B1653 #2A2283 #3A2FB4 #5A4FD1 #8780DE
Accessibility & contrast
On white
9.35
#3A2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#3A2FB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2FB4
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2FB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2FB4 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#0041B2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #3a2fb4; /* rgb */ color: rgb(58, 47, 180); /* oklch */ color: oklch(41.6% 0.199 277.0);
Tailwind
colors: {
custom: {
50: '#816acc',
500: '#3a2fb4',
950: '#000000',
},
}SCSS
$custom: #3a2fb4; $custom-light: #816acc; $custom-dark: #000000;
JSON
{
"hex": "#3a2fb4",
"rgb": {
"r": 58,
"g": 47,
"b": 180
},
"hsl": {
"h": 244.962,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.41599,
"c": 0.19898,
"h": 277
},
"luminance": 0.06228
}Semantic roles & 50–950 ramp
primary
#3A2FB4
secondary
#C0C778
accent
#E246D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82