#3C3FA6#3C3FA6
#3C3FA6 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.0% C 0.162 H 275.9°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #3C3FA6 |
|---|---|
| RGB | rgb(60, 63, 166) |
| HSL | hsl(238, 47%, 44%) |
| HSV | hsv(238, 64%, 65%) |
| CMYK | cmyk(63.9%, 62%, 0%, 34.9%) |
| CIE-LAB | lab(32.41, 31.42, -56.00) |
| CIE-LCH | lch(32.41, 64.21, 299.29°) |
| OKLab | oklab(43.01% 0.0167 -0.1612) |
| OKLCH | oklch(43.01% 0.162 275.9) |
| XYZ | xyz(10.5217, 7.2680, 36.9174) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.19
Sapphire (survey)
#2138AB
ΔE00 3.22
Ocean Blue
#4F42B5
ΔE00 3.67
Blue Blue
#2242C7
ΔE00 4.89
Darkslateblue
#483D8B
ΔE00 5.18
Blue With A Hint Of Purple
#533CC6
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C3FA6 #A6A33C
analogous
#3C74A6 #3C3FA6 #6E3CA6
triadic
#3C3FA6 #A63C3F #3FA63C
tetradic
#3C3FA6 #A63C74 #A6A33C #3CA66E
square
#3C3FA6 #A63C74 #A6A33C #3CA66E
split-complementary
#3C3FA6 #A66E3C #74A63C
monochromatic
#1C1D4C #2C2E79 #3C3FA6 #5B5EC4 #888AD4
Accessibility & contrast
On white
8.56
#3C3FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#3C3FA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C3FA6
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C3FA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C3FA6 | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#0048A4
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #3c3fa6; /* rgb */ color: rgb(60, 63, 166); /* oklch */ color: oklch(43.0% 0.162 275.9);
Tailwind
colors: {
custom: {
50: '#7e74c1',
500: '#3c3fa6',
950: '#000000',
},
}SCSS
$custom: #3c3fa6; $custom-light: #7e74c1; $custom-dark: #000000;
JSON
{
"hex": "#3c3fa6",
"rgb": {
"r": 60,
"g": 63,
"b": 166
},
"hsl": {
"h": 238.302,
"s": 46.903,
"l": 44.314
},
"oklch": {
"l": 0.43005,
"c": 0.1621,
"h": 275.9
},
"luminance": 0.07269
}Semantic roles & 50–950 ramp
primary
#3C3FA6
secondary
#BEBD7F
accent
#D351D7
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0812
muted
#7C7B81