#3A2999#3A2999
#3A2999 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.172 H 281.4°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3A2999 |
|---|---|
| RGB | rgb(58, 41, 153) |
| HSL | hsl(249, 58%, 38%) |
| HSV | hsv(249, 73%, 60%) |
| CMYK | cmyk(62.1%, 73.2%, 0%, 40%) |
| CIE-LAB | lab(26.11, 40.18, -58.42) |
| CIE-LCH | lch(26.11, 70.91, 304.52°) |
| OKLab | oklab(38.05% 0.0339 -0.1684) |
| OKLCH | oklch(38.05% 0.172 281.4) |
| XYZ | xyz(8.2858, 4.7847, 30.6177) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.49
Royal
#0C1793
ΔE00 5.40
Sapphire (survey)
#2138AB
ΔE00 5.79
Cobalt Blue
#030AA7
ΔE00 6.48
Darkslateblue
#483D8B
ΔE00 6.59
Ultramarine
#2000B1
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A2999 #889929
analogous
#295099 #3A2999 #722999
triadic
#3A2999 #993A29 #29993A
tetradic
#3A2999 #992950 #889929 #299972
square
#3A2999 #992950 #889929 #299972
split-complementary
#3A2999 #997229 #509929
monochromatic
#150F38 #281C69 #3A2999 #4C36C9 #7766D6
Accessibility & contrast
On white
10.73
#3A2999 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#3A2999 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A2999
10.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A2999 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A2999 | 1.00 | 10.73 | 1.96 | 10.73 |
| #FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3a2999; /* rgb */ color: rgb(58, 41, 153); /* oklch */ color: oklch(38.1% 0.172 281.4);
Tailwind
colors: {
custom: {
50: '#7c65b8',
500: '#3a2999',
950: '#000000',
},
}SCSS
$custom: #3a2999; $custom-light: #7c65b8; $custom-dark: #000000;
JSON
{
"hex": "#3a2999",
"rgb": {
"r": 58,
"g": 41,
"b": 153
},
"hsl": {
"h": 249.107,
"s": 57.732,
"l": 38.039
},
"oklch": {
"l": 0.38051,
"c": 0.17181,
"h": 281.4
},
"luminance": 0.04785
}Semantic roles & 50–950 ramp
primary
#3A2999
secondary
#AEBC62
accent
#E147CA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80