#4C42C8#4C42C8
#4C42C8 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.6% C 0.199 H 279.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #4C42C8 |
|---|---|
| RGB | rgb(76, 66, 200) |
| HSL | hsl(244, 55%, 52%) |
| HSV | hsv(244, 67%, 78%) |
| CMYK | cmyk(62%, 67%, 0%, 21.6%) |
| CIE-LAB | lab(37.12, 43.33, -68.35) |
| CIE-LCH | lch(37.12, 80.93, 302.37°) |
| OKLab | oklab(47.62% 0.0311 -0.197) |
| OKLCH | oklch(47.62% 0.199 279) |
| XYZ | xyz(15.3507, 9.6019, 55.6768) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 1.93
Blurple
#5539CC
ΔE00 2.65
Ocean Blue
#4F42B5
ΔE00 2.67
Bluey Purple
#6241C7
ΔE00 3.34
Blue Blue
#2242C7
ΔE00 4.36
Blue (survey)
#0343DF
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C42C8 #BEC842
analogous
#427BC8 #4C42C8 #8F42C8
triadic
#4C42C8 #C84C42 #42C84C
tetradic
#4C42C8 #C8427B #BEC842 #42C88F
square
#4C42C8 #C8427B #BEC842 #42C88F
split-complementary
#4C42C8 #C88F42 #7BC842
monochromatic
#26206F #372E9F #4C42C8 #7971D6 #A6A1E4
Accessibility & contrast
On white
7.19
#4C42C8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#4C42C8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C42C8
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C42C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C42C8 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0052C5
Tritanopia (blue-blind)
#00657F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #4c42c8; /* rgb */ color: rgb(76, 66, 200); /* oklch */ color: oklch(47.6% 0.199 279.0);
Tailwind
colors: {
custom: {
50: '#8c77da',
500: '#4c42c8',
950: '#000000',
},
}SCSS
$custom: #4c42c8; $custom-light: #8c77da; $custom-dark: #000000;
JSON
{
"hex": "#4c42c8",
"rgb": {
"r": 76,
"g": 66,
"b": 200
},
"hsl": {
"h": 244.478,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.47619,
"c": 0.19946,
"h": 279
},
"luminance": 0.09603
}Semantic roles & 50–950 ramp
primary
#4C42C8
secondary
#CCD096
accent
#DE4AD3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83