#3C2F97#3C2F97
#3C2F97 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.162 H 281.5°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #3C2F97 |
|---|---|
| RGB | rgb(60, 47, 151) |
| HSL | hsl(248, 53%, 39%) |
| HSV | hsv(248, 69%, 59%) |
| CMYK | cmyk(60.3%, 68.9%, 0%, 40.8%) |
| CIE-LAB | lab(27.37, 36.33, -55.12) |
| CIE-LCH | lch(27.37, 66.02, 303.39°) |
| OKLab | oklab(38.94% 0.0322 -0.1587) |
| OKLCH | oklch(38.94% 0.162 281.5) |
| XYZ | xyz(8.4642, 5.2275, 29.8351) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.08
Darkslateblue
#483D8B
ΔE00 5.12
Blueberry
#464196
ΔE00 5.28
Indigo Blue
#3A18B1
ΔE00 5.83
Royal
#0C1793
ΔE00 6.63
Ocean Blue
#4F42B5
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C2F97 #8A972F
analogous
#2F5697 #3C2F97 #702F97
triadic
#3C2F97 #973C2F #2F973C
tetradic
#3C2F97 #972F56 #8A972F #2F9770
square
#3C2F97 #972F56 #8A972F #2F9770
split-complementary
#3C2F97 #97702F #56972F
monochromatic
#17123A #292068 #3C2F97 #5040C3 #7B6ED2
Accessibility & contrast
On white
10.27
#3C2F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#3C2F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C2F97
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C2F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C2F97 | 1.00 | 10.27 | 2.05 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3c2f97; /* rgb */ color: rgb(60, 47, 151); /* oklch */ color: oklch(38.9% 0.162 281.5);
Tailwind
colors: {
custom: {
50: '#7c69b7',
500: '#3c2f97',
950: '#000000',
},
}SCSS
$custom: #3c2f97; $custom-light: #7c69b7; $custom-dark: #000000;
JSON
{
"hex": "#3c2f97",
"rgb": {
"r": 60,
"g": 47,
"b": 151
},
"hsl": {
"h": 247.5,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.38939,
"c": 0.16196,
"h": 281.5
},
"luminance": 0.05228
}Semantic roles & 50–950 ramp
primary
#3C2F97
secondary
#AFB968
accent
#DC4CCA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80