#3A2E8E#3A2E8E
#3A2E8E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.152 H 282.0°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2E8E |
|---|---|
| RGB | rgb(58, 46, 142) |
| HSL | hsl(248, 51%, 37%) |
| HSV | hsv(248, 68%, 56%) |
| CMYK | cmyk(59.2%, 67.6%, 0%, 44.3%) |
| CIE-LAB | lab(26.17, 33.65, -51.54) |
| CIE-LCH | lch(26.17, 61.55, 303.14°) |
| OKLab | oklab(37.78% 0.0315 -0.1483) |
| OKLCH | oklch(37.78% 0.152 282) |
| XYZ | xyz(7.6029, 4.8060, 26.1130) |
| Luminance | 0.0481 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.83
Blueberry
#464196
ΔE00 5.49
Sapphire (survey)
#2138AB
ΔE00 5.92
Royal
#0C1793
ΔE00 6.51
Indigo Blue
#3A18B1
ΔE00 6.75
Midnight Blue
#191970
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2E8E #828E2E
analogous
#2E528E #3A2E8E #6A2E8E
triadic
#3A2E8E #8E3A2E #2E8E3A
tetradic
#3A2E8E #8E2E52 #828E2E #2E8E6A
square
#3A2E8E #8E2E52 #828E2E #2E8E6A
split-complementary
#3A2E8E #8E6A2E #528E2E
monochromatic
#141032 #271F60 #3A2E8E #4D3DBC #7568CE
Accessibility & contrast
On white
10.71
#3A2E8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#3A2E8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2E8E
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2E8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2E8E | 1.00 | 10.71 | 1.96 | 10.71 |
| #FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#09465A
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3a2e8e; /* rgb */ color: rgb(58, 46, 142); /* oklch */ color: oklch(37.8% 0.152 282.0);
Tailwind
colors: {
custom: {
50: '#7a68b0',
500: '#3a2e8e',
950: '#000000',
},
}SCSS
$custom: #3a2e8e; $custom-light: #7a68b0; $custom-dark: #000000;
JSON
{
"hex": "#3a2e8e",
"rgb": {
"r": 58,
"g": 46,
"b": 142
},
"hsl": {
"h": 247.5,
"s": 51.064,
"l": 36.863
},
"oklch": {
"l": 0.37784,
"c": 0.15161,
"h": 282
},
"luminance": 0.04807
}Semantic roles & 50–950 ramp
primary
#3A2E8E
secondary
#ABB563
accent
#DB4DC9
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0611
muted
#7C7A80