#4C5CE6#4C5CE6
#4C5CE6 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.5% C 0.207 H 272.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4C5CE6 |
|---|---|
| RGB | rgb(76, 92, 230) |
| HSL | hsl(234, 75%, 60%) |
| HSV | hsv(234, 67%, 90%) |
| CMYK | cmyk(67%, 60%, 0%, 9.8%) |
| CIE-LAB | lab(45.50, 37.60, -71.85) |
| CIE-LCH | lch(45.50, 81.09, 297.62°) |
| OKLab | oklab(54.51% 0.0088 -0.2072) |
| OKLCH | oklch(54.51% 0.207 272.4) |
| XYZ | xyz(21.0858, 14.9020, 76.6127) |
| Luminance | 0.1490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.16
Azul
#1D5DEC
ΔE00 3.84
Electric Blue
#0652FF
ΔE00 4.42
Dark Periwinkle
#665FD1
ΔE00 4.47
Royal Blue
#4169E1
ΔE00 4.99
Slate Blue
#6A5ACD
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C5CE6 #E6D64C
analogous
#4CA9E6 #4C5CE6 #894CE6
triadic
#4C5CE6 #E64C5C #5CE64C
tetradic
#4C5CE6 #E64CA9 #E6D64C #4CE689
square
#4C5CE6 #E64CA9 #E6D64C #4CE689
split-complementary
#4C5CE6 #E6894C #A9E64C
monochromatic
#1725A1 #1E31D7 #4C5CE6 #828DED #B7BEF5
Accessibility & contrast
On white
5.28
#4C5CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#4C5CE6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C5CE6
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C5CE6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C5CE6 | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0065E3
Tritanopia (blue-blind)
#007F98
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4c5ce6; /* rgb */ color: rgb(76, 92, 230); /* oklch */ color: oklch(54.5% 0.207 272.4);
Tailwind
colors: {
custom: {
50: '#8f8aef',
500: '#4c5ce6',
950: '#000000',
},
}SCSS
$custom: #4c5ce6; $custom-light: #8f8aef; $custom-dark: #000000;
JSON
{
"hex": "#4c5ce6",
"rgb": {
"r": 76,
"g": 92,
"b": 230
},
"hsl": {
"h": 233.766,
"s": 75.49,
"l": 60
},
"oklch": {
"l": 0.54506,
"c": 0.20735,
"h": 272.4
},
"luminance": 0.14904
}Semantic roles & 50–950 ramp
primary
#4C5CE6
secondary
#E5DEA9
accent
#DF36F2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85