#3A2BA0#3A2BA0
#3A2BA0 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.178 H 280.0°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2BA0 |
|---|---|
| RGB | rgb(58, 43, 160) |
| HSL | hsl(248, 58%, 40%) |
| HSV | hsv(248, 73%, 63%) |
| CMYK | cmyk(63.8%, 73.1%, 0%, 37.3%) |
| CIE-LAB | lab(27.20, 41.29, -60.91) |
| CIE-LCH | lch(27.20, 73.58, 304.13°) |
| OKLab | oklab(39.03% 0.0309 -0.1757) |
| OKLCH | oklch(39.03% 0.178 280) |
| XYZ | xyz(8.9519, 5.1647, 33.7760) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.16
Sapphire (survey)
#2138AB
ΔE00 5.04
Royal
#0C1793
ΔE00 5.91
Blueberry
#464196
ΔE00 6.58
Cobalt Blue
#030AA7
ΔE00 6.62
Ultramarine
#2000B1
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2BA0 #91A02B
analogous
#2B57A0 #3A2BA0 #742BA0
triadic
#3A2BA0 #A03A2B #2BA03A
tetradic
#3A2BA0 #A02B57 #91A02B #2BA074
square
#3A2BA0 #A02B57 #91A02B #2BA074
split-complementary
#3A2BA0 #A0742B #57A02B
monochromatic
#171140 #291E70 #3A2BA0 #4F3DCB #7B6ED8
Accessibility & contrast
On white
10.33
#3A2BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#3A2BA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2BA0
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2BA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2BA0 | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3a2ba0; /* rgb */ color: rgb(58, 43, 160); /* oklch */ color: oklch(39.0% 0.178 280.0);
Tailwind
colors: {
custom: {
50: '#7d66bd',
500: '#3a2ba0',
950: '#000000',
},
}SCSS
$custom: #3a2ba0; $custom-light: #7d66bd; $custom-dark: #000000;
JSON
{
"hex": "#3a2ba0",
"rgb": {
"r": 58,
"g": 43,
"b": 160
},
"hsl": {
"h": 247.692,
"s": 57.635,
"l": 39.804
},
"oklch": {
"l": 0.3903,
"c": 0.17842,
"h": 280
},
"luminance": 0.05165
}Semantic roles & 50–950 ramp
primary
#3A2BA0
secondary
#B4BF68
accent
#E147CD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81