#3A2AAB#3A2AAB
#3A2AAB is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.0% C 0.193 H 278.7°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2AAB |
|---|---|
| RGB | rgb(58, 42, 171) |
| HSL | hsl(247, 61%, 42%) |
| HSV | hsv(247, 75%, 67%) |
| CMYK | cmyk(66.1%, 75.4%, 0%, 32.9%) |
| CIE-LAB | lab(28.10, 45.33, -66.07) |
| CIE-LCH | lch(28.10, 80.13, 304.45°) |
| OKLab | oklab(40% 0.0292 -0.1908) |
| OKLCH | oklch(40% 0.193 278.7) |
| XYZ | xyz(9.9212, 5.4949, 39.0580) |
| Luminance | 0.0550 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.30
Sapphire (survey)
#2138AB
ΔE00 5.01
True Blue
#010FCC
ΔE00 5.71
Violet Blue
#510AC9
ΔE00 5.93
Ultramarine
#2000B1
ΔE00 6.16
Cobalt Blue
#030AA7
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2AAB #9BAB2A
analogous
#2A5BAB #3A2AAB #7B2AAB
triadic
#3A2AAB #AB3A2A #2AAB3A
tetradic
#3A2AAB #AB2A5B #9BAB2A #2AAB7B
square
#3A2AAB #AB2A5B #9BAB2A #2AAB7B
split-complementary
#3A2AAB #AB7B2A #5BAB2A
monochromatic
#191249 #291E7A #3A2AAB #5342D1 #8073DD
Accessibility & contrast
On white
10.00
#3A2AAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#3A2AAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2AAB
10.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2AAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2AAB | 1.00 | 10.00 | 2.10 | 10.00 |
| #FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3a2aab; /* rgb */ color: rgb(58, 42, 171); /* oklch */ color: oklch(40.0% 0.193 278.7);
Tailwind
colors: {
custom: {
50: '#8066c5',
500: '#3a2aab',
950: '#000000',
},
}SCSS
$custom: #3a2aab; $custom-light: #8066c5; $custom-dark: #000000;
JSON
{
"hex": "#3a2aab",
"rgb": {
"r": 58,
"g": 42,
"b": 171
},
"hsl": {
"h": 247.442,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.39999,
"c": 0.19301,
"h": 278.7
},
"luminance": 0.05496
}Semantic roles & 50–950 ramp
primary
#3A2AAB
secondary
#B9C46D
accent
#E444D0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82