#3A2EAC#3A2EAC
#3A2EAC is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.7% C 0.190 H 278.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2EAC |
|---|---|
| RGB | rgb(58, 46, 172) |
| HSL | hsl(246, 58%, 43%) |
| HSV | hsv(246, 73%, 67%) |
| CMYK | cmyk(66.3%, 73.3%, 0%, 32.5%) |
| CIE-LAB | lab(28.98, 43.45, -65.22) |
| CIE-LCH | lch(28.98, 78.37, 303.67°) |
| OKLab | oklab(40.65% 0.0265 -0.1883) |
| OKLCH | oklch(40.65% 0.19 278) |
| XYZ | xyz(10.1659, 5.8312, 39.6115) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.19
Sapphire (survey)
#2138AB
ΔE00 4.25
Ocean Blue
#4F42B5
ΔE00 5.71
Blue With A Hint Of Purple
#533CC6
ΔE00 5.92
True Blue
#010FCC
ΔE00 6.25
Blurple
#5539CC
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2EAC #A0AC2E
analogous
#2E61AC #3A2EAC #792EAC
triadic
#3A2EAC #AC3A2E #2EAC3A
tetradic
#3A2EAC #AC2E61 #A0AC2E #2EAC79
square
#3A2EAC #AC2E61 #A0AC2E #2EAC79
split-complementary
#3A2EAC #AC792E #61AC2E
monochromatic
#19144B #2A217C #3A2EAC #5649CE #8379DB
Accessibility & contrast
On white
9.69
#3A2EAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#3A2EAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2EAC
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2EAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2EAC | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #3a2eac; /* rgb */ color: rgb(58, 46, 172); /* oklch */ color: oklch(40.7% 0.190 278.0);
Tailwind
colors: {
custom: {
50: '#8069c6',
500: '#3a2eac',
950: '#000000',
},
}SCSS
$custom: #3a2eac; $custom-light: #8069c6; $custom-dark: #000000;
JSON
{
"hex": "#3a2eac",
"rgb": {
"r": 58,
"g": 46,
"b": 172
},
"hsl": {
"h": 245.714,
"s": 57.798,
"l": 42.745
},
"oklch": {
"l": 0.40653,
"c": 0.19018,
"h": 278
},
"luminance": 0.05832
}Semantic roles & 50–950 ramp
primary
#3A2EAC
secondary
#BCC372
accent
#E147D2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82