#3A2BA2#3A2BA2
#3A2BA2 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.181 H 279.7°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2BA2 |
|---|---|
| RGB | rgb(58, 43, 162) |
| HSL | hsl(248, 58%, 40%) |
| HSV | hsv(248, 73%, 64%) |
| CMYK | cmyk(64.2%, 73.5%, 0%, 36.5%) |
| CIE-LAB | lab(27.39, 41.93, -61.80) |
| CIE-LCH | lch(27.39, 74.68, 304.16°) |
| OKLab | oklab(39.23% 0.0305 -0.1783) |
| OKLCH | oklch(39.23% 0.181 279.7) |
| XYZ | xyz(9.1283, 5.2352, 34.7049) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.00
Sapphire (survey)
#2138AB
ΔE00 4.96
Royal
#0C1793
ΔE00 6.00
Cobalt Blue
#030AA7
ΔE00 6.58
Ultramarine
#2000B1
ΔE00 6.61
Blueberry
#464196
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2BA2 #93A22B
analogous
#2B57A2 #3A2BA2 #752BA2
triadic
#3A2BA2 #A23A2B #2BA23A
tetradic
#3A2BA2 #A22B57 #93A22B #2BA275
square
#3A2BA2 #A22B57 #93A22B #2BA275
split-complementary
#3A2BA2 #A2752B #57A22B
monochromatic
#171141 #291E72 #3A2BA2 #503ECC #7C6FD9
Accessibility & contrast
On white
10.26
#3A2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#3A2BA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2BA2
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2BA2 | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3a2ba2; /* rgb */ color: rgb(58, 43, 162); /* oklch */ color: oklch(39.2% 0.181 279.7);
Tailwind
colors: {
custom: {
50: '#7e66bf',
500: '#3a2ba2',
950: '#000000',
},
}SCSS
$custom: #3a2ba2; $custom-light: #7e66bf; $custom-dark: #000000;
JSON
{
"hex": "#3a2ba2",
"rgb": {
"r": 58,
"g": 43,
"b": 162
},
"hsl": {
"h": 247.563,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.39228,
"c": 0.18092,
"h": 279.7
},
"luminance": 0.05236
}Semantic roles & 50–950 ramp
primary
#3A2BA2
secondary
#B5C069
accent
#E147CE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81