#3B299F#3B299F
#3B299F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.179 H 280.9°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #3B299F |
|---|---|
| RGB | rgb(59, 41, 159) |
| HSL | hsl(249, 59%, 39%) |
| HSV | hsv(249, 74%, 62%) |
| CMYK | cmyk(62.9%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(26.79, 42.22, -60.97) |
| CIE-LCH | lch(26.79, 74.16, 304.70°) |
| OKLab | oklab(38.73% 0.034 -0.1759) |
| OKLCH | oklch(38.73% 0.179 280.9) |
| XYZ | xyz(8.8526, 5.0182, 33.2963) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.85
Sapphire (survey)
#2138AB
ΔE00 5.55
Royal
#0C1793
ΔE00 5.65
Cobalt Blue
#030AA7
ΔE00 6.31
Ultramarine
#2000B1
ΔE00 6.35
Royal Blue (survey)
#0504AA
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B299F #8D9F29
analogous
#29529F #3B299F #76299F
triadic
#3B299F #9F3B29 #299F3B
tetradic
#3B299F #9F2952 #8D9F29 #299F76
square
#3B299F #9F2952 #8D9F29 #299F76
split-complementary
#3B299F #9F7629 #529F29
monochromatic
#17103E #291C6E #3B299F #5039CC #7B6AD9
Accessibility & contrast
On white
10.48
#3B299F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#3B299F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B299F
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B299F | 1.00 | 10.48 | 2.00 | 10.48 |
| #FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.48 | 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: #3b299f; /* rgb */ color: rgb(59, 41, 159); /* oklch */ color: oklch(38.7% 0.179 280.9);
Tailwind
colors: {
custom: {
50: '#7e65bc',
500: '#3b299f',
950: '#000000',
},
}SCSS
$custom: #3b299f; $custom-light: #7e65bc; $custom-dark: #000000;
JSON
{
"hex": "#3b299f",
"rgb": {
"r": 59,
"g": 41,
"b": 159
},
"hsl": {
"h": 249.153,
"s": 59,
"l": 39.216
},
"oklch": {
"l": 0.38729,
"c": 0.17913,
"h": 280.9
},
"luminance": 0.05019
}Semantic roles & 50–950 ramp
primary
#3B299F
secondary
#B1BF65
accent
#E246CA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81