#3A299F#3A299F
#3A299F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.179 H 280.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #3A299F |
|---|---|
| RGB | rgb(58, 41, 159) |
| HSL | hsl(249, 59%, 39%) |
| HSV | hsv(249, 74%, 62%) |
| CMYK | cmyk(63.5%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(26.70, 42.09, -61.12) |
| CIE-LCH | lch(26.70, 74.21, 304.55°) |
| OKLab | oklab(38.65% 0.0326 -0.1763) |
| OKLCH | oklch(38.65% 0.179 280.5) |
| XYZ | xyz(8.7939, 4.9880, 33.2935) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.86
Sapphire (survey)
#2138AB
ΔE00 5.47
Royal
#0C1793
ΔE00 5.57
Cobalt Blue
#030AA7
ΔE00 6.25
Ultramarine
#2000B1
ΔE00 6.33
Royal Blue (survey)
#0504AA
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A299F #8E9F29
analogous
#29539F #3A299F #75299F
triadic
#3A299F #9F3A29 #299F3A
tetradic
#3A299F #9F2953 #8E9F29 #299F75
square
#3A299F #9F2953 #8E9F29 #299F75
split-complementary
#3A299F #9F7529 #539F29
monochromatic
#17103E #281C6E #3A299F #4E39CC #7A6AD9
Accessibility & contrast
On white
10.51
#3A299F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#3A299F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A299F
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A299F | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3a299f; /* rgb */ color: rgb(58, 41, 159); /* oklch */ color: oklch(38.6% 0.179 280.5);
Tailwind
colors: {
custom: {
50: '#7d65bc',
500: '#3a299f',
950: '#000000',
},
}SCSS
$custom: #3a299f; $custom-light: #7d65bc; $custom-dark: #000000;
JSON
{
"hex": "#3a299f",
"rgb": {
"r": 58,
"g": 41,
"b": 159
},
"hsl": {
"h": 248.644,
"s": 59,
"l": 39.216
},
"oklch": {
"l": 0.38646,
"c": 0.1793,
"h": 280.5
},
"luminance": 0.04989
}Semantic roles & 50–950 ramp
primary
#3A299F
secondary
#B2BF65
accent
#E246CC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81