#3A2BA4#3A2BA4
#3A2BA4 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.183 H 279.4°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2BA4 |
|---|---|
| RGB | rgb(58, 43, 164) |
| HSL | hsl(247, 58%, 41%) |
| HSV | hsv(247, 74%, 64%) |
| CMYK | cmyk(64.6%, 73.8%, 0%, 35.7%) |
| CIE-LAB | lab(27.59, 42.57, -62.69) |
| CIE-LCH | lch(27.59, 75.77, 304.18°) |
| OKLab | oklab(39.43% 0.0301 -0.1809) |
| OKLCH | oklch(39.43% 0.183 279.4) |
| XYZ | xyz(9.3075, 5.3069, 35.6486) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.86
Sapphire (survey)
#2138AB
ΔE00 4.90
Royal
#0C1793
ΔE00 6.10
True Blue
#010FCC
ΔE00 6.51
Ultramarine
#2000B1
ΔE00 6.53
Cobalt Blue
#030AA7
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2BA4 #95A42B
analogous
#2B58A4 #3A2BA4 #762BA4
triadic
#3A2BA4 #A43A2B #2BA43A
tetradic
#3A2BA4 #A42B58 #95A42B #2BA476
square
#3A2BA4 #A42B58 #95A42B #2BA476
split-complementary
#3A2BA4 #A4762B #58A42B
monochromatic
#181243 #291E74 #3A2BA4 #513FCD #7D70D9
Accessibility & contrast
On white
10.19
#3A2BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#3A2BA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2BA4
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2BA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2BA4 | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003CA2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3a2ba4; /* rgb */ color: rgb(58, 43, 164); /* oklch */ color: oklch(39.4% 0.183 279.4);
Tailwind
colors: {
custom: {
50: '#7e66c0',
500: '#3a2ba4',
950: '#000000',
},
}SCSS
$custom: #3a2ba4; $custom-light: #7e66c0; $custom-dark: #000000;
JSON
{
"hex": "#3a2ba4",
"rgb": {
"r": 58,
"g": 43,
"b": 164
},
"hsl": {
"h": 247.438,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.39427,
"c": 0.18341,
"h": 279.4
},
"luminance": 0.05308
}Semantic roles & 50–950 ramp
primary
#3A2BA4
secondary
#B6C16A
accent
#E246CE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81