#3C2EA7#3C2EA7
#3C2EA7 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.184 H 279.5°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #3C2EA7 |
|---|---|
| RGB | rgb(60, 46, 167) |
| HSL | hsl(247, 57%, 42%) |
| HSV | hsv(247, 72%, 65%) |
| CMYK | cmyk(64.1%, 72.5%, 0%, 34.5%) |
| CIE-LAB | lab(28.65, 42.10, -62.75) |
| CIE-LCH | lch(28.65, 75.56, 303.86°) |
| OKLab | oklab(40.31% 0.0302 -0.181) |
| OKLCH | oklch(40.31% 0.184 279.5) |
| XYZ | xyz(9.8133, 5.7039, 37.1356) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.33
Sapphire (survey)
#2138AB
ΔE00 4.46
Ocean Blue
#4F42B5
ΔE00 5.83
Blueberry
#464196
ΔE00 6.25
Blue With A Hint Of Purple
#533CC6
ΔE00 6.28
Blurple
#5539CC
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C2EA7 #99A72E
analogous
#2E5DA7 #3C2EA7 #792EA7
triadic
#3C2EA7 #A73C2E #2EA73C
tetradic
#3C2EA7 #A72E5D #99A72E #2EA779
square
#3C2EA7 #A72E5D #99A72E #2EA779
split-complementary
#3C2EA7 #A7792E #5DA72E
monochromatic
#1A1447 #2B2177 #3C2EA7 #5646CC #8276D9
Accessibility & contrast
On white
9.81
#3C2EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#3C2EA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C2EA7
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C2EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C2EA7 | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #3c2ea7; /* rgb */ color: rgb(60, 46, 167); /* oklch */ color: oklch(40.3% 0.184 279.5);
Tailwind
colors: {
custom: {
50: '#7f69c2',
500: '#3c2ea7',
950: '#000000',
},
}SCSS
$custom: #3c2ea7; $custom-light: #7f69c2; $custom-dark: #000000;
JSON
{
"hex": "#3c2ea7",
"rgb": {
"r": 60,
"g": 46,
"b": 167
},
"hsl": {
"h": 246.942,
"s": 56.808,
"l": 41.765
},
"oklch": {
"l": 0.40311,
"c": 0.18355,
"h": 279.5
},
"luminance": 0.05705
}Semantic roles & 50–950 ramp
primary
#3C2EA7
secondary
#B8C170
accent
#E048CE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82