#3C299E#3C299E
#3C299E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.178 H 281.6°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #3C299E |
|---|---|
| RGB | rgb(60, 41, 158) |
| HSL | hsl(250, 59%, 39%) |
| HSV | hsv(250, 74%, 62%) |
| CMYK | cmyk(62%, 74.1%, 0%, 38%) |
| CIE-LAB | lab(26.78, 42.04, -60.38) |
| CIE-LCH | lch(26.78, 73.57, 304.85°) |
| OKLab | oklab(38.71% 0.0357 -0.1741) |
| OKLCH | oklch(38.71% 0.178 281.6) |
| XYZ | xyz(8.8260, 5.0145, 32.8439) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.93
Sapphire (survey)
#2138AB
ΔE00 5.69
Royal
#0C1793
ΔE00 5.71
Cobalt Blue
#030AA7
ΔE00 6.40
Ultramarine
#2000B1
ΔE00 6.44
Royal Blue (survey)
#0504AA
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C299E #8B9E29
analogous
#29509E #3C299E #77299E
triadic
#3C299E #9E3C29 #299E3C
tetradic
#3C299E #9E2950 #8B9E29 #299E77
square
#3C299E #9E2950 #8B9E29 #299E77
split-complementary
#3C299E #9E7729 #509E29
monochromatic
#17103D #2A1C6D #3C299E #5139CC #7B69D8
Accessibility & contrast
On white
10.48
#3C299E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#3C299E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C299E
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C299E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C299E | 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)
#0043A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3c299e; /* rgb */ color: rgb(60, 41, 158); /* oklch */ color: oklch(38.7% 0.178 281.6);
Tailwind
colors: {
custom: {
50: '#7e65bc',
500: '#3c299e',
950: '#000000',
},
}SCSS
$custom: #3c299e; $custom-light: #7e65bc; $custom-dark: #000000;
JSON
{
"hex": "#3c299e",
"rgb": {
"r": 60,
"g": 41,
"b": 158
},
"hsl": {
"h": 249.744,
"s": 58.794,
"l": 39.02
},
"oklch": {
"l": 0.38713,
"c": 0.17772,
"h": 281.6
},
"luminance": 0.05015
}Semantic roles & 50–950 ramp
primary
#3C299E
secondary
#B0BF64
accent
#E246C9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81