#3B299E#3B299E
#3B299E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.178 H 281.1°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #3B299E |
|---|---|
| RGB | rgb(59, 41, 158) |
| HSL | hsl(249, 59%, 39%) |
| HSV | hsv(249, 74%, 62%) |
| CMYK | cmyk(62.7%, 74.1%, 0%, 38%) |
| CIE-LAB | lab(26.69, 41.90, -60.53) |
| CIE-LCH | lch(26.69, 73.62, 304.70°) |
| OKLab | oklab(38.63% 0.0342 -0.1746) |
| OKLCH | oklch(38.63% 0.178 281.1) |
| XYZ | xyz(8.7662, 4.9837, 32.8411) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.94
Sapphire (survey)
#2138AB
ΔE00 5.60
Royal
#0C1793
ΔE00 5.62
Cobalt Blue
#030AA7
ΔE00 6.34
Ultramarine
#2000B1
ΔE00 6.41
Royal Blue (survey)
#0504AA
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B299E #8C9E29
analogous
#29529E #3B299E #76299E
triadic
#3B299E #9E3B29 #299E3B
tetradic
#3B299E #9E2952 #8C9E29 #299E76
square
#3B299E #9E2952 #8C9E29 #299E76
split-complementary
#3B299E #9E7629 #529E29
monochromatic
#17103D #291C6D #3B299E #4F39CC #7A69D8
Accessibility & contrast
On white
10.52
#3B299E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#3B299E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B299E
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B299E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B299E | 1.00 | 10.52 | 2.00 | 10.52 |
| #FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3b299e; /* rgb */ color: rgb(59, 41, 158); /* oklch */ color: oklch(38.6% 0.178 281.1);
Tailwind
colors: {
custom: {
50: '#7e65bc',
500: '#3b299e',
950: '#000000',
},
}SCSS
$custom: #3b299e; $custom-light: #7e65bc; $custom-dark: #000000;
JSON
{
"hex": "#3b299e",
"rgb": {
"r": 59,
"g": 41,
"b": 158
},
"hsl": {
"h": 249.231,
"s": 58.794,
"l": 39.02
},
"oklch": {
"l": 0.38629,
"c": 0.17788,
"h": 281.1
},
"luminance": 0.04984
}Semantic roles & 50–950 ramp
primary
#3B299E
secondary
#B1BF64
accent
#E246CA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81