#3A2FAE#3A2FAE
#3A2FAE is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.0% C 0.192 H 277.6°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2FAE |
|---|---|
| RGB | rgb(58, 47, 174) |
| HSL | hsl(245, 57%, 43%) |
| HSV | hsv(245, 73%, 68%) |
| CMYK | cmyk(66.7%, 73%, 0%, 31.8%) |
| CIE-LAB | lab(29.38, 43.53, -65.76) |
| CIE-LCH | lch(29.38, 78.86, 303.50°) |
| OKLab | oklab(41% 0.0254 -0.1899) |
| OKLCH | oklch(41% 0.192 277.6) |
| XYZ | xyz(10.3989, 5.9877, 40.6439) |
| Luminance | 0.0599 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.10
Indigo Blue
#3A18B1
ΔE00 4.39
Ocean Blue
#4F42B5
ΔE00 5.44
Blue With A Hint Of Purple
#533CC6
ΔE00 5.62
Blurple
#5539CC
ΔE00 6.01
True Blue
#010FCC
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2FAE #A3AE2F
analogous
#2F63AE #3A2FAE #792FAE
triadic
#3A2FAE #AE3A2F #2FAE3A
tetradic
#3A2FAE #AE2F63 #A3AE2F #2FAE79
square
#3A2FAE #AE2F63 #A3AE2F #2FAE79
split-complementary
#3A2FAE #AE792F #63AE2F
monochromatic
#1A154E #2A227E #3A2FAE #574CCF #847CDC
Accessibility & contrast
On white
9.56
#3A2FAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#3A2FAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2FAE
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2FAE | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #3a2fae; /* rgb */ color: rgb(58, 47, 174); /* oklch */ color: oklch(41.0% 0.192 277.6);
Tailwind
colors: {
custom: {
50: '#8069c7',
500: '#3a2fae',
950: '#000000',
},
}SCSS
$custom: #3a2fae; $custom-light: #8069c7; $custom-dark: #000000;
JSON
{
"hex": "#3a2fae",
"rgb": {
"r": 58,
"g": 47,
"b": 174
},
"hsl": {
"h": 245.197,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.40996,
"c": 0.19161,
"h": 277.6
},
"luminance": 0.05989
}Semantic roles & 50–950 ramp
primary
#3A2FAE
secondary
#BDC475
accent
#E147D3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82