#4C5DC7#4C5DC7
#4C5DC7 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.3% C 0.165 H 272.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #4C5DC7 |
|---|---|
| RGB | rgb(76, 93, 199) |
| HSL | hsl(232, 52%, 54%) |
| HSV | hsv(232, 62%, 78%) |
| CMYK | cmyk(61.8%, 53.3%, 0%, 22%) |
| CIE-LAB | lab(43.49, 26.40, -57.41) |
| CIE-LCH | lch(43.49, 63.18, 294.70°) |
| OKLab | oklab(52.3% 0.0073 -0.1647) |
| OKLCH | oklch(52.3% 0.165 272.5) |
| XYZ | xyz(17.2002, 13.4873, 55.7187) |
| Luminance | 0.1349 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.36
Iris
#6258C4
ΔE00 4.60
Dark Periwinkle
#665FD1
ΔE00 4.74
Azul
#1D5DEC
ΔE00 5.24
Royal Blue
#4169E1
ΔE00 5.55
Slate Blue
#6A5ACD
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C5DC7 #C7B64C
analogous
#4C9BC7 #4C5DC7 #794CC7
triadic
#4C5DC7 #C74C5D #5DC74C
tetradic
#4C5DC7 #C74C9B #C7B64C #4CC779
square
#4C5DC7 #C74C9B #C7B64C #4CC779
split-complementary
#4C5DC7 #C7794C #9BC74C
monochromatic
#242F74 #3342A3 #4C5DC7 #7B87D6 #A9B1E4
Accessibility & contrast
On white
5.68
#4C5DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#4C5DC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C5DC7
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C5DC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C5DC7 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#186CCB
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4c5dc7; /* rgb */ color: rgb(76, 93, 199); /* oklch */ color: oklch(52.3% 0.165 272.5);
Tailwind
colors: {
custom: {
50: '#8a8ad9',
500: '#4c5dc7',
950: '#000000',
},
}SCSS
$custom: #4c5dc7; $custom-light: #8a8ad9; $custom-dark: #000000;
JSON
{
"hex": "#4c5dc7",
"rgb": {
"r": 76,
"g": 93,
"b": 199
},
"hsl": {
"h": 231.707,
"s": 52.34,
"l": 53.922
},
"oklch": {
"l": 0.52296,
"c": 0.16483,
"h": 272.5
},
"luminance": 0.13489
}Semantic roles & 50–950 ramp
primary
#4C5DC7
secondary
#D2CA9D
accent
#C84CDC
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B15
muted
#7E7C83