#3A299E#3A299E
#3A299E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.178 H 280.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #3A299E |
|---|---|
| RGB | rgb(58, 41, 158) |
| HSL | hsl(249, 59%, 39%) |
| HSV | hsv(249, 74%, 62%) |
| CMYK | cmyk(63.3%, 74.1%, 0%, 38%) |
| CIE-LAB | lab(26.60, 41.77, -60.67) |
| CIE-LCH | lch(26.60, 73.66, 304.55°) |
| OKLab | oklab(38.55% 0.0328 -0.175) |
| OKLCH | oklch(38.55% 0.178 280.6) |
| XYZ | xyz(8.7075, 4.9534, 32.8384) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.96
Sapphire (survey)
#2138AB
ΔE00 5.52
Royal
#0C1793
ΔE00 5.53
Cobalt Blue
#030AA7
ΔE00 6.28
Ultramarine
#2000B1
ΔE00 6.38
Royal Blue (survey)
#0504AA
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A299E #8D9E29
analogous
#29539E #3A299E #75299E
triadic
#3A299E #9E3A29 #299E3A
tetradic
#3A299E #9E2953 #8D9E29 #299E75
square
#3A299E #9E2953 #8D9E29 #299E75
split-complementary
#3A299E #9E7529 #539E29
monochromatic
#16103D #281C6D #3A299E #4E39CC #7969D8
Accessibility & contrast
On white
10.55
#3A299E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#3A299E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A299E
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A299E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A299E | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3a299e; /* rgb */ color: rgb(58, 41, 158); /* oklch */ color: oklch(38.5% 0.178 280.6);
Tailwind
colors: {
custom: {
50: '#7d65bc',
500: '#3a299e',
950: '#000000',
},
}SCSS
$custom: #3a299e; $custom-light: #7d65bc; $custom-dark: #000000;
JSON
{
"hex": "#3a299e",
"rgb": {
"r": 58,
"g": 41,
"b": 158
},
"hsl": {
"h": 248.718,
"s": 58.794,
"l": 39.02
},
"oklch": {
"l": 0.38546,
"c": 0.17807,
"h": 280.6
},
"luminance": 0.04954
}Semantic roles & 50–950 ramp
primary
#3A299E
secondary
#B1BF64
accent
#E246CB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81