#3A2C90#3A2C90
#3A2C90 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.157 H 282.2°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2C90 |
|---|---|
| RGB | rgb(58, 44, 144) |
| HSL | hsl(248, 53%, 37%) |
| HSV | hsv(248, 69%, 56%) |
| CMYK | cmyk(59.7%, 69.4%, 0%, 43.5%) |
| CIE-LAB | lab(25.90, 35.52, -53.22) |
| CIE-LCH | lch(25.90, 63.99, 303.72°) |
| OKLab | oklab(37.64% 0.0331 -0.1532) |
| OKLCH | oklch(37.64% 0.157 282.2) |
| XYZ | xyz(7.6781, 4.7140, 26.8854) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.40
Blueberry
#464196
ΔE00 5.99
Sapphire (survey)
#2138AB
ΔE00 6.01
Royal
#0C1793
ΔE00 6.02
Indigo Blue
#3A18B1
ΔE00 6.12
Midnight Blue
#191970
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2C90 #82902C
analogous
#2C5090 #3A2C90 #6C2C90
triadic
#3A2C90 #903A2C #2C903A
tetradic
#3A2C90 #902C50 #82902C #2C906C
square
#3A2C90 #902C50 #82902C #2C906C
split-complementary
#3A2C90 #906C2C #50902C
monochromatic
#140F32 #271E61 #3A2C90 #4D3ABF #7566D0
Accessibility & contrast
On white
10.81
#3A2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#3A2C90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2C90
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2C90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2C90 | 1.00 | 10.81 | 1.94 | 10.81 |
| #FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#04465A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3a2c90; /* rgb */ color: rgb(58, 44, 144); /* oklch */ color: oklch(37.6% 0.157 282.2);
Tailwind
colors: {
custom: {
50: '#7a66b1',
500: '#3a2c90',
950: '#000000',
},
}SCSS
$custom: #3a2c90; $custom-light: #7a66b1; $custom-dark: #000000;
JSON
{
"hex": "#3a2c90",
"rgb": {
"r": 58,
"g": 44,
"b": 144
},
"hsl": {
"h": 248.4,
"s": 53.191,
"l": 36.863
},
"oklch": {
"l": 0.37644,
"c": 0.15676,
"h": 282.2
},
"luminance": 0.04715
}Semantic roles & 50–950 ramp
primary
#3A2C90
secondary
#ABB761
accent
#DD4BC8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80