#3C339E#3C339E
#3C339E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.2% C 0.166 H 279.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #3C339E |
|---|---|
| RGB | rgb(60, 51, 158) |
| HSL | hsl(245, 51%, 41%) |
| HSV | hsv(245, 68%, 62%) |
| CMYK | cmyk(62%, 67.7%, 0%, 38%) |
| CIE-LAB | lab(28.89, 36.21, -56.91) |
| CIE-LCH | lch(28.89, 67.45, 302.47°) |
| OKLab | oklab(40.23% 0.0278 -0.164) |
| OKLCH | oklch(40.23% 0.166 279.6) |
| XYZ | xyz(9.2169, 5.7963, 32.9742) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.95
Blueberry
#464196
ΔE00 4.56
Darkslateblue
#483D8B
ΔE00 5.04
Ocean Blue
#4F42B5
ΔE00 5.53
Indigo Blue
#3A18B1
ΔE00 6.11
Blue With A Hint Of Purple
#533CC6
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C339E #959E33
analogous
#335F9E #3C339E #71339E
triadic
#3C339E #9E3C33 #339E3C
tetradic
#3C339E #9E335F #959E33 #339E71
square
#3C339E #9E335F #959E33 #339E71
split-complementary
#3C339E #9E7133 #5F9E33
monochromatic
#191541 #2A2470 #3C339E #544AC4 #8078D3
Accessibility & contrast
On white
9.72
#3C339E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#3C339E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C339E
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C339E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C339E | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #3c339e; /* rgb */ color: rgb(60, 51, 158); /* oklch */ color: oklch(40.2% 0.166 279.6);
Tailwind
colors: {
custom: {
50: '#7d6bbc',
500: '#3c339e',
950: '#000000',
},
}SCSS
$custom: #3c339e; $custom-light: #7d6bbc; $custom-dark: #000000;
JSON
{
"hex": "#3c339e",
"rgb": {
"r": 60,
"g": 51,
"b": 158
},
"hsl": {
"h": 245.047,
"s": 51.196,
"l": 40.98
},
"oklch": {
"l": 0.40228,
"c": 0.1663,
"h": 279.6
},
"luminance": 0.05797
}Semantic roles & 50–950 ramp
primary
#3C339E
secondary
#B6BC71
accent
#DB4DCF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81