#3A2A9E#3A2A9E
#3A2A9E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.177 H 280.4°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2A9E |
|---|---|
| RGB | rgb(58, 42, 158) |
| HSL | hsl(248, 58%, 39%) |
| HSV | hsv(248, 73%, 62%) |
| CMYK | cmyk(63.3%, 73.4%, 0%, 38%) |
| CIE-LAB | lab(26.80, 41.21, -60.34) |
| CIE-LCH | lch(26.80, 73.07, 304.33°) |
| OKLab | oklab(38.69% 0.0321 -0.1741) |
| OKLCH | oklch(38.69% 0.177 280.4) |
| XYZ | xyz(8.7425, 5.0234, 32.8500) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.15
Sapphire (survey)
#2138AB
ΔE00 5.32
Royal
#0C1793
ΔE00 5.68
Cobalt Blue
#030AA7
ΔE00 6.47
Ultramarine
#2000B1
ΔE00 6.59
Blueberry
#464196
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2A9E #8E9E2A
analogous
#2A549E #3A2A9E #742A9E
triadic
#3A2A9E #9E3A2A #2A9E3A
tetradic
#3A2A9E #9E2A54 #8E9E2A #2A9E74
square
#3A2A9E #9E2A54 #8E9E2A #2A9E74
split-complementary
#3A2A9E #9E742A #549E2A
monochromatic
#17103D #281D6E #3A2A9E #4E3ACB #7A6BD8
Accessibility & contrast
On white
10.47
#3A2A9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#3A2A9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2A9E
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2A9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2A9E | 1.00 | 10.47 | 2.00 | 10.47 |
| #FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3a2a9e; /* rgb */ color: rgb(58, 42, 158); /* oklch */ color: oklch(38.7% 0.177 280.4);
Tailwind
colors: {
custom: {
50: '#7d66bc',
500: '#3a2a9e',
950: '#000000',
},
}SCSS
$custom: #3a2a9e; $custom-light: #7d66bc; $custom-dark: #000000;
JSON
{
"hex": "#3a2a9e",
"rgb": {
"r": 58,
"g": 42,
"b": 158
},
"hsl": {
"h": 248.276,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.38688,
"c": 0.177,
"h": 280.4
},
"luminance": 0.05024
}Semantic roles & 50–950 ramp
primary
#3A2A9E
secondary
#B2BE66
accent
#E147CC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81