#3A2AA9#3A2AA9
#3A2AA9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.8% C 0.191 H 279.0°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2AA9 |
|---|---|
| RGB | rgb(58, 42, 169) |
| HSL | hsl(248, 60%, 41%) |
| HSV | hsv(248, 75%, 66%) |
| CMYK | cmyk(65.7%, 75.1%, 0%, 33.7%) |
| CIE-LAB | lab(27.90, 44.70, -65.20) |
| CIE-LCH | lch(27.90, 79.06, 304.43°) |
| OKLab | oklab(39.79% 0.0297 -0.1883) |
| OKLCH | oklch(39.79% 0.191 279) |
| XYZ | xyz(9.7320, 5.4192, 38.0616) |
| Luminance | 0.0542 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.37
Sapphire (survey)
#2138AB
ΔE00 5.02
True Blue
#010FCC
ΔE00 5.89
Violet Blue
#510AC9
ΔE00 6.12
Ultramarine
#2000B1
ΔE00 6.19
Royal
#0C1793
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2AA9 #99A92A
analogous
#2A5AA9 #3A2AA9 #7A2AA9
triadic
#3A2AA9 #A93A2A #2AA93A
tetradic
#3A2AA9 #A92A5A #99A92A #2AA97A
square
#3A2AA9 #A92A5A #99A92A #2AA97A
split-complementary
#3A2AA9 #A97A2A #5AA92A
monochromatic
#181247 #291E78 #3A2AA9 #5341D0 #7F72DC
Accessibility & contrast
On white
10.08
#3A2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#3A2AA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2AA9
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2AA9 | 1.00 | 10.08 | 2.08 | 10.08 |
| #FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003DA7
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3a2aa9; /* rgb */ color: rgb(58, 42, 169); /* oklch */ color: oklch(39.8% 0.191 279.0);
Tailwind
colors: {
custom: {
50: '#7f66c4',
500: '#3a2aa9',
950: '#000000',
},
}SCSS
$custom: #3a2aa9; $custom-light: #7f66c4; $custom-dark: #000000;
JSON
{
"hex": "#3a2aa9",
"rgb": {
"r": 58,
"g": 42,
"b": 169
},
"hsl": {
"h": 247.559,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.39794,
"c": 0.19058,
"h": 279
},
"luminance": 0.0542
}Semantic roles & 50–950 ramp
primary
#3A2AA9
secondary
#B8C36C
accent
#E344CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82