#3A2CD1#3A2CD1
#3A2CD1 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 44.3% C 0.236 H 274.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2CD1 |
|---|---|
| RGB | rgb(58, 44, 209) |
| HSL | hsl(245, 65%, 50%) |
| HSV | hsv(245, 79%, 82%) |
| CMYK | cmyk(72.2%, 78.9%, 0%, 18%) |
| CIE-LAB | lab(32.49, 56.01, -81.25) |
| CIE-LCH | lch(32.49, 98.68, 304.58°) |
| OKLab | oklab(44.26% 0.0191 -0.235) |
| OKLCH | oklch(44.26% 0.236 274.6) |
| XYZ | xyz(14.1504, 7.3029, 60.9731) |
| Luminance | 0.0730 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blurple
#5539CC
ΔE00 3.94
Purple Blue
#5D21D0
ΔE00 4.18
Blue With A Hint Of Purple
#533CC6
ΔE00 4.32
Rich Blue
#021BF9
ΔE00 4.43
Violet Blue
#510AC9
ΔE00 4.86
Ultramarine Blue
#1805DB
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2CD1 #C3D12C
analogous
#2C71D1 #3A2CD1 #8D2CD1
triadic
#3A2CD1 #D13A2C #2CD13A
tetradic
#3A2CD1 #D12C71 #C3D12C #2CD18D
square
#3A2CD1 #D12C71 #C3D12C #2CD18D
split-complementary
#3A2CD1 #D18D2C #71D12C
monochromatic
#1E176C #2C219E #3A2CD1 #685DDD #9790E8
Accessibility & contrast
On white
8.53
#3A2CD1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#3A2CD1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2CD1
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2CD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2CD1 | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054D6
Deuteranopia (green-blind)
#0045CE
Tritanopia (blue-blind)
#005F7F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #3a2cd1; /* rgb */ color: rgb(58, 44, 209); /* oklch */ color: oklch(44.3% 0.236 274.6);
Tailwind
colors: {
custom: {
50: '#8869e1',
500: '#3a2cd1',
950: '#000000',
},
}SCSS
$custom: #3a2cd1; $custom-light: #8869e1; $custom-dark: #000000;
JSON
{
"hex": "#3a2cd1",
"rgb": {
"r": 58,
"g": 44,
"b": 209
},
"hsl": {
"h": 245.091,
"s": 65.217,
"l": 49.608
},
"oklch": {
"l": 0.44264,
"c": 0.23575,
"h": 274.6
},
"luminance": 0.07304
}Semantic roles & 50–950 ramp
primary
#3A2CD1
secondary
#CCD287
accent
#E840DA
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0D0715
muted
#7E7A84