#3A2B95#3A2B95
#3A2B95 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.164 H 281.6°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2B95 |
|---|---|
| RGB | rgb(58, 43, 149) |
| HSL | hsl(248, 55%, 38%) |
| HSV | hsv(248, 71%, 58%) |
| CMYK | cmyk(61.1%, 71.1%, 0%, 41.6%) |
| CIE-LAB | lab(26.15, 37.74, -55.91) |
| CIE-LCH | lch(26.15, 67.46, 304.02°) |
| OKLab | oklab(37.96% 0.0331 -0.1611) |
| OKLCH | oklch(37.96% 0.164 281.6) |
| XYZ | xyz(8.0319, 4.7967, 28.9305) |
| Luminance | 0.0480 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.31
Sapphire (survey)
#2138AB
ΔE00 5.72
Royal
#0C1793
ΔE00 5.73
Darkslateblue
#483D8B
ΔE00 5.92
Blueberry
#464196
ΔE00 6.28
Cobalt Blue
#030AA7
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2B95 #86952B
analogous
#2B5195 #3A2B95 #6F2B95
triadic
#3A2B95 #953A2B #2B953A
tetradic
#3A2B95 #952B51 #86952B #2B956F
square
#3A2B95 #952B51 #86952B #2B956F
split-complementary
#3A2B95 #956F2B #51952B
monochromatic
#151036 #281D66 #3A2B95 #4C39C4 #7667D3
Accessibility & contrast
On white
10.72
#3A2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#3A2B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2B95
10.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2B95 | 1.00 | 10.72 | 1.96 | 10.72 |
| #FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3a2b95; /* rgb */ color: rgb(58, 43, 149); /* oklch */ color: oklch(38.0% 0.164 281.6);
Tailwind
colors: {
custom: {
50: '#7b66b5',
500: '#3a2b95',
950: '#000000',
},
}SCSS
$custom: #3a2b95; $custom-light: #7b66b5; $custom-dark: #000000;
JSON
{
"hex": "#3a2b95",
"rgb": {
"r": 58,
"g": 43,
"b": 149
},
"hsl": {
"h": 248.491,
"s": 55.208,
"l": 37.647
},
"oklch": {
"l": 0.3796,
"c": 0.16445,
"h": 281.6
},
"luminance": 0.04797
}Semantic roles & 50–950 ramp
primary
#3A2B95
secondary
#ADBA62
accent
#DF49C9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80