#3C2F99#3C2F99
#3C2F99 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.165 H 281.2°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #3C2F99 |
|---|---|
| RGB | rgb(60, 47, 153) |
| HSL | hsl(247, 53%, 39%) |
| HSV | hsv(247, 69%, 60%) |
| CMYK | cmyk(60.8%, 69.3%, 0%, 40%) |
| CIE-LAB | lab(27.55, 36.98, -56.05) |
| CIE-LCH | lch(27.55, 67.15, 303.42°) |
| OKLab | oklab(39.13% 0.0319 -0.1614) |
| OKLCH | oklch(39.13% 0.165 281.2) |
| XYZ | xyz(8.6280, 5.2930, 30.6978) |
| Luminance | 0.0529 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.92
Darkslateblue
#483D8B
ΔE00 5.29
Blueberry
#464196
ΔE00 5.33
Indigo Blue
#3A18B1
ΔE00 5.62
Ocean Blue
#4F42B5
ΔE00 6.61
Royal
#0C1793
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C2F99 #8C992F
analogous
#2F5799 #3C2F99 #712F99
triadic
#3C2F99 #993C2F #2F993C
tetradic
#3C2F99 #992F57 #8C992F #2F9971
square
#3C2F99 #992F57 #8C992F #2F9971
split-complementary
#3C2F99 #99712F #57992F
monochromatic
#17123B #2A216A #3C2F99 #5141C5 #7C6FD3
Accessibility & contrast
On white
10.20
#3C2F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#3C2F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C2F99
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C2F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C2F99 | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3c2f99; /* rgb */ color: rgb(60, 47, 153); /* oklch */ color: oklch(39.1% 0.165 281.2);
Tailwind
colors: {
custom: {
50: '#7d69b8',
500: '#3c2f99',
950: '#000000',
},
}SCSS
$custom: #3c2f99; $custom-light: #7d69b8; $custom-dark: #000000;
JSON
{
"hex": "#3c2f99",
"rgb": {
"r": 60,
"g": 47,
"b": 153
},
"hsl": {
"h": 247.358,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.39125,
"c": 0.16457,
"h": 281.2
},
"luminance": 0.05294
}Semantic roles & 50–950 ramp
primary
#3C2F99
secondary
#B0BA69
accent
#DC4BCB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80