#3A299B#3A299B
#3A299B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.174 H 281.1°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #3A299B |
|---|---|
| RGB | rgb(58, 41, 155) |
| HSL | hsl(249, 58%, 38%) |
| HSV | hsv(249, 74%, 61%) |
| CMYK | cmyk(62.6%, 73.5%, 0%, 39.2%) |
| CIE-LAB | lab(26.31, 40.82, -59.33) |
| CIE-LCH | lch(26.31, 72.01, 304.53°) |
| OKLab | oklab(38.25% 0.0334 -0.1711) |
| OKLCH | oklch(38.25% 0.174 281.1) |
| XYZ | xyz(8.4524, 4.8514, 31.4950) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.27
Royal
#0C1793
ΔE00 5.44
Sapphire (survey)
#2138AB
ΔE00 5.67
Cobalt Blue
#030AA7
ΔE00 6.39
Ultramarine
#2000B1
ΔE00 6.57
Darkslateblue
#483D8B
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A299B #8A9B29
analogous
#29519B #3A299B #73299B
triadic
#3A299B #9B3A29 #299B3A
tetradic
#3A299B #9B2951 #8A9B29 #299B73
square
#3A299B #9B2951 #8A9B29 #299B73
split-complementary
#3A299B #9B7329 #519B29
monochromatic
#160F3A #281C6B #3A299B #4D37CA #7867D7
Accessibility & contrast
On white
10.66
#3A299B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#3A299B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A299B
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A299B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A299B | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3a299b; /* rgb */ color: rgb(58, 41, 155); /* oklch */ color: oklch(38.2% 0.174 281.1);
Tailwind
colors: {
custom: {
50: '#7c65ba',
500: '#3a299b',
950: '#000000',
},
}SCSS
$custom: #3a299b; $custom-light: #7c65ba; $custom-dark: #000000;
JSON
{
"hex": "#3a299b",
"rgb": {
"r": 58,
"g": 41,
"b": 155
},
"hsl": {
"h": 248.947,
"s": 58.163,
"l": 38.431
},
"oklch": {
"l": 0.38248,
"c": 0.17432,
"h": 281.1
},
"luminance": 0.04852
}Semantic roles & 50–950 ramp
primary
#3A299B
secondary
#B0BD63
accent
#E146CA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81