#3A2B9A#3A2B9A
#3A2B9A is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.171 H 280.8°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2B9A |
|---|---|
| RGB | rgb(58, 43, 154) |
| HSL | hsl(248, 56%, 39%) |
| HSV | hsv(248, 72%, 60%) |
| CMYK | cmyk(62.3%, 72.1%, 0%, 39.6%) |
| CIE-LAB | lab(26.62, 39.36, -58.20) |
| CIE-LCH | lch(26.62, 70.26, 304.07°) |
| OKLab | oklab(38.44% 0.0321 -0.1678) |
| OKLCH | oklch(38.44% 0.171 280.8) |
| XYZ | xyz(8.4397, 4.9598, 31.0782) |
| Luminance | 0.0496 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.74
Sapphire (survey)
#2138AB
ΔE00 5.35
Royal
#0C1793
ΔE00 5.74
Darkslateblue
#483D8B
ΔE00 6.25
Blueberry
#464196
ΔE00 6.38
Cobalt Blue
#030AA7
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2B9A #8B9A2B
analogous
#2B539A #3A2B9A #712B9A
triadic
#3A2B9A #9A3A2B #2B9A3A
tetradic
#3A2B9A #9A2B53 #8B9A2B #2B9A71
square
#3A2B9A #9A2B53 #8B9A2B #2B9A71
split-complementary
#3A2B9A #9A712B #539A2B
monochromatic
#16103A #281E6A #3A2B9A #4D3AC8 #796AD5
Accessibility & contrast
On white
10.54
#3A2B9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#3A2B9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2B9A
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2B9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2B9A | 1.00 | 10.54 | 1.99 | 10.54 |
| #FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3a2b9a; /* rgb */ color: rgb(58, 43, 154); /* oklch */ color: oklch(38.4% 0.171 280.8);
Tailwind
colors: {
custom: {
50: '#7c66b9',
500: '#3a2b9a',
950: '#000000',
},
}SCSS
$custom: #3a2b9a; $custom-light: #7c66b9; $custom-dark: #000000;
JSON
{
"hex": "#3a2b9a",
"rgb": {
"r": 58,
"g": 43,
"b": 154
},
"hsl": {
"h": 248.108,
"s": 56.345,
"l": 38.627
},
"oklch": {
"l": 0.38441,
"c": 0.17085,
"h": 280.8
},
"luminance": 0.0496
}Semantic roles & 50–950 ramp
primary
#3A2B9A
secondary
#B0BC65
accent
#E048CB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81