#3A2CB7#3A2CB7
#3A2CB7 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.5% C 0.206 H 277.1°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2CB7 |
|---|---|
| RGB | rgb(58, 44, 183) |
| HSL | hsl(246, 61%, 45%) |
| HSV | hsv(246, 76%, 72%) |
| CMYK | cmyk(68.3%, 76%, 0%, 28.2%) |
| CIE-LAB | lab(29.71, 48.03, -70.58) |
| CIE-LCH | lch(29.71, 85.38, 304.23°) |
| OKLab | oklab(41.5% 0.0253 -0.204) |
| OKLCH | oklch(41.5% 0.206 277.1) |
| XYZ | xyz(11.1901, 6.1188, 45.3819) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.79
Sapphire (survey)
#2138AB
ΔE00 4.93
True Blue
#010FCC
ΔE00 5.25
Blue With A Hint Of Purple
#533CC6
ΔE00 5.29
Violet Blue
#510AC9
ΔE00 5.29
Blurple
#5539CC
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2CB7 #A9B72C
analogous
#2C64B7 #3A2CB7 #802CB7
triadic
#3A2CB7 #B73A2C #2CB73A
tetradic
#3A2CB7 #B72C64 #A9B72C #2CB780
square
#3A2CB7 #B72C64 #A9B72C #2CB780
split-complementary
#3A2CB7 #B7802C #64B72C
monochromatic
#1B1454 #2A2086 #3A2CB7 #5A4CD4 #877EE0
Accessibility & contrast
On white
9.44
#3A2CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#3A2CB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2CB7
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2CB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2CB7 | 1.00 | 9.44 | 2.22 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CBB
Deuteranopia (green-blind)
#0040B5
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #3a2cb7; /* rgb */ color: rgb(58, 44, 183); /* oklch */ color: oklch(41.5% 0.206 277.1);
Tailwind
colors: {
custom: {
50: '#8268ce',
500: '#3a2cb7',
950: '#000000',
},
}SCSS
$custom: #3a2cb7; $custom-light: #8268ce; $custom-dark: #000000;
JSON
{
"hex": "#3a2cb7",
"rgb": {
"r": 58,
"g": 44,
"b": 183
},
"hsl": {
"h": 246.043,
"s": 61.233,
"l": 44.51
},
"oklch": {
"l": 0.41501,
"c": 0.20552,
"h": 277.1
},
"luminance": 0.0612
}Semantic roles & 50–950 ramp
primary
#3A2CB7
secondary
#C0C876
accent
#E443D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82