#3C339A#3C339A
#3C339A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.161 H 280.1°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #3C339A |
|---|---|
| RGB | rgb(60, 51, 154) |
| HSL | hsl(245, 50%, 40%) |
| HSV | hsv(245, 67%, 60%) |
| CMYK | cmyk(61%, 66.9%, 0%, 39.6%) |
| CIE-LAB | lab(28.54, 34.88, -55.05) |
| CIE-LCH | lch(28.54, 65.17, 302.36°) |
| OKLab | oklab(39.86% 0.0283 -0.1585) |
| OKLCH | oklch(39.86% 0.161 280.1) |
| XYZ | xyz(8.8782, 5.6608, 31.1904) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.25
Blueberry
#464196
ΔE00 4.35
Darkslateblue
#483D8B
ΔE00 4.61
Ocean Blue
#4F42B5
ΔE00 5.88
Indigo Blue
#3A18B1
ΔE00 6.45
Blue With A Hint Of Purple
#533CC6
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C339A #919A33
analogous
#335D9A #3C339A #70339A
triadic
#3C339A #9A3C33 #339A3C
tetradic
#3C339A #9A335D #919A33 #339A70
square
#3C339A #9A335D #919A33 #339A70
split-complementary
#3C339A #9A7033 #5D9A33
monochromatic
#18153E #2A246C #3C339A #5348C2 #7E76D2
Accessibility & contrast
On white
9.85
#3C339A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#3C339A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C339A
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C339A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C339A | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #3c339a; /* rgb */ color: rgb(60, 51, 154); /* oklch */ color: oklch(39.9% 0.161 280.1);
Tailwind
colors: {
custom: {
50: '#7c6bb9',
500: '#3c339a',
950: '#000000',
},
}SCSS
$custom: #3c339a; $custom-light: #7c6bb9; $custom-dark: #000000;
JSON
{
"hex": "#3c339a",
"rgb": {
"r": 60,
"g": 51,
"b": 154
},
"hsl": {
"h": 245.243,
"s": 50.244,
"l": 40.196
},
"oklch": {
"l": 0.39864,
"c": 0.16101,
"h": 280.1
},
"luminance": 0.05661
}Semantic roles & 50–950 ramp
primary
#3C339A
secondary
#B3BA6F
accent
#DA4ECE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80