#3C2F91#3C2F91
#3C2F91 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.154 H 282.4°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #3C2F91 |
|---|---|
| RGB | rgb(60, 47, 145) |
| HSL | hsl(248, 51%, 38%) |
| HSV | hsv(248, 68%, 57%) |
| CMYK | cmyk(58.6%, 67.6%, 0%, 43.1%) |
| CIE-LAB | lab(26.84, 34.36, -52.30) |
| CIE-LCH | lch(26.84, 62.58, 303.31°) |
| OKLab | oklab(38.39% 0.033 -0.1505) |
| OKLCH | oklch(38.39% 0.154 282.4) |
| XYZ | xyz(7.9892, 5.0375, 27.3339) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.67
Blueberry
#464196
ΔE00 5.19
Sapphire (survey)
#2138AB
ΔE00 5.66
Indigo Blue
#3A18B1
ΔE00 6.53
Royal
#0C1793
ΔE00 6.75
Ocean Blue
#4F42B5
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C2F91 #84912F
analogous
#2F5391 #3C2F91 #6D2F91
triadic
#3C2F91 #913C2F #2F913C
tetradic
#3C2F91 #912F53 #84912F #2F916D
square
#3C2F91 #912F53 #84912F #2F916D
split-complementary
#3C2F91 #916D2F #53912F
monochromatic
#161135 #292063 #3C2F91 #4F3EBF #796BCF
Accessibility & contrast
On white
10.46
#3C2F91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#3C2F91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C2F91
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C2F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C2F91 | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#0D485C
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3c2f91; /* rgb */ color: rgb(60, 47, 145); /* oklch */ color: oklch(38.4% 0.154 282.4);
Tailwind
colors: {
custom: {
50: '#7b68b2',
500: '#3c2f91',
950: '#000000',
},
}SCSS
$custom: #3c2f91; $custom-light: #7b68b2; $custom-dark: #000000;
JSON
{
"hex": "#3c2f91",
"rgb": {
"r": 60,
"g": 47,
"b": 145
},
"hsl": {
"h": 247.959,
"s": 51.042,
"l": 37.647
},
"oklch": {
"l": 0.38391,
"c": 0.15404,
"h": 282.4
},
"luminance": 0.05038
}Semantic roles & 50–950 ramp
primary
#3C2F91
secondary
#ACB665
accent
#DB4DC8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80