#3A2FB6#3A2FB6
#3A2FB6 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.8% C 0.201 H 276.8°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2FB6 |
|---|---|
| RGB | rgb(58, 47, 182) |
| HSL | hsl(245, 59%, 45%) |
| HSV | hsv(245, 74%, 71%) |
| CMYK | cmyk(68.1%, 74.2%, 0%, 28.6%) |
| CIE-LAB | lab(30.18, 46.10, -69.22) |
| CIE-LCH | lch(30.18, 83.16, 303.66°) |
| OKLab | oklab(41.8% 0.0238 -0.2) |
| OKLCH | oklch(41.8% 0.201 276.8) |
| XYZ | xyz(11.2022, 6.3090, 44.8743) |
| Luminance | 0.0631 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.39
Indigo Blue
#3A18B1
ΔE00 4.43
Blue With A Hint Of Purple
#533CC6
ΔE00 4.95
Blurple
#5539CC
ΔE00 5.23
Ocean Blue
#4F42B5
ΔE00 5.27
True Blue
#010FCC
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2FB6 #ABB62F
analogous
#2F67B6 #3A2FB6 #7E2FB6
triadic
#3A2FB6 #B63A2F #2FB63A
tetradic
#3A2FB6 #B62F67 #ABB62F #2FB67E
square
#3A2FB6 #B62F67 #ABB62F #2FB67E
split-complementary
#3A2FB6 #B67E2F #67B62F
monochromatic
#1B1655 #2A2285 #3A2FB6 #5B50D2 #8981DE
Accessibility & contrast
On white
9.28
#3A2FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#3A2FB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2FB6
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2FB6 | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DBA
Deuteranopia (green-blind)
#0041B4
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #3a2fb6; /* rgb */ color: rgb(58, 47, 182); /* oklch */ color: oklch(41.8% 0.201 276.8);
Tailwind
colors: {
custom: {
50: '#826acd',
500: '#3a2fb6',
950: '#000000',
},
}SCSS
$custom: #3a2fb6; $custom-light: #826acd; $custom-dark: #000000;
JSON
{
"hex": "#3a2fb6",
"rgb": {
"r": 58,
"g": 47,
"b": 182
},
"hsl": {
"h": 244.889,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.41802,
"c": 0.20141,
"h": 276.8
},
"luminance": 0.0631
}Semantic roles & 50–950 ramp
primary
#3A2FB6
secondary
#C1C779
accent
#E246D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82