#3C42AE#3C42AE
#3C42AE is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.169 H 274.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #3C42AE |
|---|---|
| RGB | rgb(60, 66, 174) |
| HSL | hsl(237, 49%, 46%) |
| HSV | hsv(237, 66%, 68%) |
| CMYK | cmyk(65.5%, 62.1%, 0%, 31.8%) |
| CIE-LAB | lab(33.80, 32.28, -58.52) |
| CIE-LCH | lch(33.80, 66.83, 298.89°) |
| OKLab | oklab(44.23% 0.0138 -0.1686) |
| OKLCH | oklch(44.23% 0.169 274.7) |
| XYZ | xyz(11.4492, 7.9121, 40.9600) |
| Luminance | 0.0791 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.15
Sapphire (survey)
#2138AB
ΔE00 3.62
Blue Blue
#2242C7
ΔE00 3.75
Blueberry
#464196
ΔE00 4.15
Blue With A Hint Of Purple
#533CC6
ΔE00 5.38
Cobalt
#0047AB
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C42AE #AEA83C
analogous
#3C7BAE #3C42AE #6F3CAE
triadic
#3C42AE #AE3C42 #42AE3C
tetradic
#3C42AE #AE3C7B #AEA83C #3CAE6F
square
#3C42AE #AE3C7B #AEA83C #3CAE6F
split-complementary
#3C42AE #AE6F3C #7BAE3C
monochromatic
#1D1F53 #2C3180 #3C42AE #5F65C8 #8D91D8
Accessibility & contrast
On white
8.13
#3C42AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#3C42AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C42AE
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C42AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C42AE | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3c42ae; /* rgb */ color: rgb(60, 66, 174); /* oklch */ color: oklch(44.2% 0.169 274.7);
Tailwind
colors: {
custom: {
50: '#7f76c7',
500: '#3c42ae',
950: '#000000',
},
}SCSS
$custom: #3c42ae; $custom-light: #7f76c7; $custom-dark: #000000;
JSON
{
"hex": "#3c42ae",
"rgb": {
"r": 60,
"g": 66,
"b": 174
},
"hsl": {
"h": 236.842,
"s": 48.718,
"l": 45.882
},
"oklch": {
"l": 0.44231,
"c": 0.16917,
"h": 274.7
},
"luminance": 0.07913
}Semantic roles & 50–950 ramp
primary
#3C42AE
secondary
#C2BF83
accent
#D150D8
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82