#3A2E8A#3A2E8A
#3A2E8A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.146 H 282.6°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2E8A |
|---|---|
| RGB | rgb(58, 46, 138) |
| HSL | hsl(248, 50%, 36%) |
| HSV | hsv(248, 67%, 54%) |
| CMYK | cmyk(58%, 66.7%, 0%, 45.9%) |
| CIE-LAB | lab(25.83, 32.32, -49.63) |
| CIE-LCH | lch(25.83, 59.23, 303.08°) |
| OKLab | oklab(37.42% 0.032 -0.1427) |
| OKLCH | oklch(37.42% 0.146 282.6) |
| XYZ | xyz(7.3079, 4.6881, 24.5596) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.65
Blueberry
#464196
ΔE00 5.56
Sapphire (survey)
#2138AB
ΔE00 6.40
Royal
#0C1793
ΔE00 6.74
Midnight Blue
#191970
ΔE00 6.97
Indigo Blue
#3A18B1
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2E8A #7E8A2E
analogous
#2E508A #3A2E8A #682E8A
triadic
#3A2E8A #8A3A2E #2E8A3A
tetradic
#3A2E8A #8A2E50 #7E8A2E #2E8A68
square
#3A2E8A #8A2E50 #7E8A2E #2E8A68
split-complementary
#3A2E8A #8A682E #508A2E
monochromatic
#130F2E #271F5C #3A2E8A #4D3DB8 #7466CC
Accessibility & contrast
On white
10.84
#3A2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#3A2E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2E8A
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2E8A | 1.00 | 10.84 | 1.94 | 10.84 |
| #FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#114557
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3a2e8a; /* rgb */ color: rgb(58, 46, 138); /* oklch */ color: oklch(37.4% 0.146 282.6);
Tailwind
colors: {
custom: {
50: '#7967ad',
500: '#3a2e8a',
950: '#000000',
},
}SCSS
$custom: #3a2e8a; $custom-light: #7967ad; $custom-dark: #000000;
JSON
{
"hex": "#3a2e8a",
"rgb": {
"r": 58,
"g": 46,
"b": 138
},
"hsl": {
"h": 247.826,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.37424,
"c": 0.14623,
"h": 282.6
},
"luminance": 0.04689
}Semantic roles & 50–950 ramp
primary
#3A2E8A
secondary
#A8B361
accent
#DA4EC7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F