#3A2DB6#3A2DB6
#3A2DB6 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.5% C 0.203 H 277.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2DB6 |
|---|---|
| RGB | rgb(58, 45, 182) |
| HSL | hsl(246, 60%, 45%) |
| HSV | hsv(246, 75%, 71%) |
| CMYK | cmyk(68.1%, 75.3%, 0%, 28.6%) |
| CIE-LAB | lab(29.79, 47.19, -69.85) |
| CIE-LCH | lch(29.79, 84.30, 304.04°) |
| OKLab | oklab(41.53% 0.025 -0.2018) |
| OKLCH | oklch(41.53% 0.203 277) |
| XYZ | xyz(11.1241, 6.1527, 44.8483) |
| Luminance | 0.0615 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.98
Sapphire (survey)
#2138AB
ΔE00 4.72
Blue With A Hint Of Purple
#533CC6
ΔE00 5.22
Blurple
#5539CC
ΔE00 5.43
True Blue
#010FCC
ΔE00 5.46
Violet Blue
#510AC9
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2DB6 #A9B62D
analogous
#2D65B6 #3A2DB6 #7E2DB6
triadic
#3A2DB6 #B63A2D #2DB63A
tetradic
#3A2DB6 #B62D65 #A9B62D #2DB67E
square
#3A2DB6 #B62D65 #A9B62D #2DB67E
split-complementary
#3A2DB6 #B67E2D #65B62D
monochromatic
#1B1554 #2A2185 #3A2DB6 #5A4DD3 #877EDF
Accessibility & contrast
On white
9.41
#3A2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#3A2DB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2DB6
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2DB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2DB6 | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#0040B4
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #3a2db6; /* rgb */ color: rgb(58, 45, 182); /* oklch */ color: oklch(41.5% 0.203 277.0);
Tailwind
colors: {
custom: {
50: '#8269cd',
500: '#3a2db6',
950: '#000000',
},
}SCSS
$custom: #3a2db6; $custom-light: #8269cd; $custom-dark: #000000;
JSON
{
"hex": "#3a2db6",
"rgb": {
"r": 58,
"g": 45,
"b": 182
},
"hsl": {
"h": 245.693,
"s": 60.352,
"l": 44.51
},
"oklch": {
"l": 0.4153,
"c": 0.20338,
"h": 277
},
"luminance": 0.06154
}Semantic roles & 50–950 ramp
primary
#3A2DB6
secondary
#C0C877
accent
#E344D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82