#3A2CBD#3A2CBD
#3A2CBD is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.1% C 0.213 H 276.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2CBD |
|---|---|
| RGB | rgb(58, 44, 189) |
| HSL | hsl(246, 62%, 46%) |
| HSV | hsv(246, 77%, 74%) |
| CMYK | cmyk(69.3%, 76.7%, 0%, 25.9%) |
| CIE-LAB | lab(30.34, 49.90, -73.10) |
| CIE-LCH | lch(30.34, 88.51, 304.32°) |
| OKLab | oklab(42.13% 0.0239 -0.2113) |
| OKLCH | oklch(42.13% 0.213 276.4) |
| XYZ | xyz(11.8279, 6.3739, 48.7412) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.08
Blue With A Hint Of Purple
#533CC6
ΔE00 4.91
Blurple
#5539CC
ΔE00 4.96
Violet Blue
#510AC9
ΔE00 4.99
True Blue
#010FCC
ΔE00 5.06
Purple Blue
#5D21D0
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2CBD #AFBD2C
analogous
#2C66BD #3A2CBD #822CBD
triadic
#3A2CBD #BD3A2C #2CBD3A
tetradic
#3A2CBD #BD2C66 #AFBD2C #2CBD82
square
#3A2CBD #BD2C66 #AFBD2C #2CBD82
split-complementary
#3A2CBD #BD822C #66BD2C
monochromatic
#1C155A #2B208B #3A2CBD #5D50D6 #8B82E2
Accessibility & contrast
On white
9.23
#3A2CBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#3A2CBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2CBD
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2CBD | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#0041BA
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #3a2cbd; /* rgb */ color: rgb(58, 44, 189); /* oklch */ color: oklch(42.1% 0.213 276.4);
Tailwind
colors: {
custom: {
50: '#8368d2',
500: '#3a2cbd',
950: '#000000',
},
}SCSS
$custom: #3a2cbd; $custom-light: #8368d2; $custom-dark: #000000;
JSON
{
"hex": "#3a2cbd",
"rgb": {
"r": 58,
"g": 44,
"b": 189
},
"hsl": {
"h": 245.793,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.42128,
"c": 0.21264,
"h": 276.4
},
"luminance": 0.06375
}Semantic roles & 50–950 ramp
primary
#3A2CBD
secondary
#C3CB7A
accent
#E542D6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83