#3A2E97#3A2E97
#3A2E97 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.164 H 280.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2E97 |
|---|---|
| RGB | rgb(58, 46, 151) |
| HSL | hsl(247, 53%, 39%) |
| HSV | hsv(247, 70%, 59%) |
| CMYK | cmyk(61.6%, 69.5%, 0%, 40.8%) |
| CIE-LAB | lab(26.98, 36.62, -55.77) |
| CIE-LCH | lch(26.98, 66.71, 303.29°) |
| OKLab | oklab(38.62% 0.0303 -0.1607) |
| OKLCH | oklch(38.62% 0.164 280.7) |
| XYZ | xyz(8.3061, 5.0873, 29.8164) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.04
Darkslateblue
#483D8B
ΔE00 5.42
Blueberry
#464196
ΔE00 5.56
Indigo Blue
#3A18B1
ΔE00 5.66
Royal
#0C1793
ΔE00 6.28
Ocean Blue
#4F42B5
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2E97 #8B972E
analogous
#2E5697 #3A2E97 #6E2E97
triadic
#3A2E97 #973A2E #2E973A
tetradic
#3A2E97 #972E56 #8B972E #2E976E
square
#3A2E97 #972E56 #8B972E #2E976E
split-complementary
#3A2E97 #976E2E #56972E
monochromatic
#161139 #282068 #3A2E97 #4D3EC4 #796DD2
Accessibility & contrast
On white
10.41
#3A2E97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#3A2E97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2E97
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2E97 | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3a2e97; /* rgb */ color: rgb(58, 46, 151); /* oklch */ color: oklch(38.6% 0.164 280.7);
Tailwind
colors: {
custom: {
50: '#7b68b7',
500: '#3a2e97',
950: '#000000',
},
}SCSS
$custom: #3a2e97; $custom-light: #7b68b7; $custom-dark: #000000;
JSON
{
"hex": "#3a2e97",
"rgb": {
"r": 58,
"g": 46,
"b": 151
},
"hsl": {
"h": 246.857,
"s": 53.299,
"l": 38.627
},
"oklch": {
"l": 0.38615,
"c": 0.16351,
"h": 280.7
},
"luminance": 0.05088
}Semantic roles & 50–950 ramp
primary
#3A2E97
secondary
#B0BA67
accent
#DD4BCC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80