#3A2AA8#3A2AA8
#3A2AA8 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.189 H 279.1°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2AA8 |
|---|---|
| RGB | rgb(58, 42, 168) |
| HSL | hsl(248, 60%, 41%) |
| HSV | hsv(248, 75%, 66%) |
| CMYK | cmyk(65.5%, 75%, 0%, 34.1%) |
| CIE-LAB | lab(27.80, 44.39, -64.77) |
| CIE-LCH | lch(27.80, 78.52, 304.42°) |
| OKLab | oklab(39.69% 0.0299 -0.187) |
| OKLCH | oklch(39.69% 0.189 279.1) |
| XYZ | xyz(9.6385, 5.3818, 37.5691) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.41
Sapphire (survey)
#2138AB
ΔE00 5.03
True Blue
#010FCC
ΔE00 5.98
Ultramarine
#2000B1
ΔE00 6.20
Royal
#0C1793
ΔE00 6.21
Violet Blue
#510AC9
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2AA8 #98A82A
analogous
#2A59A8 #3A2AA8 #792AA8
triadic
#3A2AA8 #A83A2A #2AA83A
tetradic
#3A2AA8 #A82A59 #98A82A #2AA879
square
#3A2AA8 #A82A59 #98A82A #2AA879
split-complementary
#3A2AA8 #A8792A #59A82A
monochromatic
#181246 #291E77 #3A2AA8 #5240CF #7E71DB
Accessibility & contrast
On white
10.11
#3A2AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#3A2AA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2AA8
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2AA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2AA8 | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#003DA6
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3a2aa8; /* rgb */ color: rgb(58, 42, 168); /* oklch */ color: oklch(39.7% 0.189 279.1);
Tailwind
colors: {
custom: {
50: '#7f66c3',
500: '#3a2aa8',
950: '#000000',
},
}SCSS
$custom: #3a2aa8; $custom-light: #7f66c3; $custom-dark: #000000;
JSON
{
"hex": "#3a2aa8",
"rgb": {
"r": 58,
"g": 42,
"b": 168
},
"hsl": {
"h": 247.619,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.39692,
"c": 0.18935,
"h": 279.1
},
"luminance": 0.05383
}Semantic roles & 50–950 ramp
primary
#3A2AA8
secondary
#B8C36B
accent
#E345CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82