#3C299F#3C299F
#3C299F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.179 H 281.4°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #3C299F |
|---|---|
| RGB | rgb(60, 41, 159) |
| HSL | hsl(250, 59%, 39%) |
| HSV | hsv(250, 74%, 62%) |
| CMYK | cmyk(62.3%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(26.87, 42.35, -60.83) |
| CIE-LCH | lch(26.87, 74.12, 304.85°) |
| OKLab | oklab(38.81% 0.0355 -0.1754) |
| OKLCH | oklch(38.81% 0.179 281.4) |
| XYZ | xyz(8.9125, 5.0491, 33.2991) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.84
Sapphire (survey)
#2138AB
ΔE00 5.64
Royal
#0C1793
ΔE00 5.74
Cobalt Blue
#030AA7
ΔE00 6.38
Ultramarine
#2000B1
ΔE00 6.39
Royal Blue (survey)
#0504AA
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C299F #8C9F29
analogous
#29519F #3C299F #77299F
triadic
#3C299F #9F3C29 #299F3C
tetradic
#3C299F #9F2951 #8C9F29 #299F77
square
#3C299F #9F2951 #8C9F29 #299F77
split-complementary
#3C299F #9F7729 #519F29
monochromatic
#17103E #2A1C6E #3C299F #5139CC #7C6AD9
Accessibility & contrast
On white
10.45
#3C299F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#3C299F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C299F
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C299F | 1.00 | 10.45 | 2.01 | 10.45 |
| #FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3c299f; /* rgb */ color: rgb(60, 41, 159); /* oklch */ color: oklch(38.8% 0.179 281.4);
Tailwind
colors: {
custom: {
50: '#7e65bc',
500: '#3c299f',
950: '#000000',
},
}SCSS
$custom: #3c299f; $custom-light: #7e65bc; $custom-dark: #000000;
JSON
{
"hex": "#3c299f",
"rgb": {
"r": 60,
"g": 41,
"b": 159
},
"hsl": {
"h": 249.661,
"s": 59,
"l": 39.216
},
"oklch": {
"l": 0.38813,
"c": 0.17896,
"h": 281.4
},
"luminance": 0.0505
}Semantic roles & 50–950 ramp
primary
#3C299F
secondary
#B0BF65
accent
#E246C9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81