#3A2BA3#3A2BA3
#3A2BA3 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.182 H 279.6°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2BA3 |
|---|---|
| RGB | rgb(58, 43, 163) |
| HSL | hsl(248, 58%, 40%) |
| HSV | hsv(248, 74%, 64%) |
| CMYK | cmyk(64.4%, 73.6%, 0%, 36.1%) |
| CIE-LAB | lab(27.49, 42.25, -62.24) |
| CIE-LCH | lch(27.49, 75.23, 304.17°) |
| OKLab | oklab(39.33% 0.0303 -0.1796) |
| OKLCH | oklch(39.33% 0.182 279.6) |
| XYZ | xyz(9.2176, 5.2709, 35.1749) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.93
Sapphire (survey)
#2138AB
ΔE00 4.93
Royal
#0C1793
ΔE00 6.05
Ultramarine
#2000B1
ΔE00 6.57
Cobalt Blue
#030AA7
ΔE00 6.57
True Blue
#010FCC
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2BA3 #94A32B
analogous
#2B58A3 #3A2BA3 #762BA3
triadic
#3A2BA3 #A33A2B #2BA33A
tetradic
#3A2BA3 #A32B58 #94A32B #2BA376
square
#3A2BA3 #A32B58 #94A32B #2BA376
split-complementary
#3A2BA3 #A3762B #58A32B
monochromatic
#181142 #291E73 #3A2BA3 #513FCC #7D6FD9
Accessibility & contrast
On white
10.22
#3A2BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#3A2BA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2BA3
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2BA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2BA3 | 1.00 | 10.22 | 2.05 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3a2ba3; /* rgb */ color: rgb(58, 43, 163); /* oklch */ color: oklch(39.3% 0.182 279.6);
Tailwind
colors: {
custom: {
50: '#7e66bf',
500: '#3a2ba3',
950: '#000000',
},
}SCSS
$custom: #3a2ba3; $custom-light: #7e66bf; $custom-dark: #000000;
JSON
{
"hex": "#3a2ba3",
"rgb": {
"r": 58,
"g": 43,
"b": 163
},
"hsl": {
"h": 247.5,
"s": 58.252,
"l": 40.392
},
"oklch": {
"l": 0.39328,
"c": 0.18216,
"h": 279.6
},
"luminance": 0.05272
}Semantic roles & 50–950 ramp
primary
#3A2BA3
secondary
#B5C06A
accent
#E146CE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81