#4C5FCC#4C5FCC
#4C5FCC is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.0% C 0.169 H 271.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #4C5FCC |
|---|---|
| RGB | rgb(76, 95, 204) |
| HSL | hsl(231, 56%, 55%) |
| HSV | hsv(231, 63%, 80%) |
| CMYK | cmyk(62.7%, 53.4%, 0%, 20%) |
| CIE-LAB | lab(44.35, 26.85, -58.90) |
| CIE-LCH | lch(44.35, 64.73, 294.51°) |
| OKLab | oklab(53.05% 0.0057 -0.169) |
| OKLCH | oklch(53.05% 0.169 271.9) |
| XYZ | xyz(17.9681, 14.0790, 58.8857) |
| Luminance | 0.1408 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.31
Dark Periwinkle
#665FD1
ΔE00 4.58
Royal Blue
#4169E1
ΔE00 4.65
Azul
#1D5DEC
ΔE00 4.68
Iris
#6258C4
ΔE00 5.01
Slate Blue
#6A5ACD
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C5FCC #CCB94C
analogous
#4C9FCC #4C5FCC #794CCC
triadic
#4C5FCC #CC4C5F #5FCC4C
tetradic
#4C5FCC #CC4C9F #CCB94C #4CCC79
square
#4C5FCC #CC4C9F #CCB94C #4CCC79
split-complementary
#4C5FCC #CC794C #9FCC4C
monochromatic
#23307B #3143AA #4C5FCC #7C8ADA #ABB4E7
Accessibility & contrast
On white
5.50
#4C5FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#4C5FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C5FCC
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C5FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C5FCC | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#156FD0
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #4c5fcc; /* rgb */ color: rgb(76, 95, 204); /* oklch */ color: oklch(53.0% 0.169 271.9);
Tailwind
colors: {
custom: {
50: '#8b8cdc',
500: '#4c5fcc',
950: '#000000',
},
}SCSS
$custom: #4c5fcc; $custom-light: #8b8cdc; $custom-dark: #000000;
JSON
{
"hex": "#4c5fcc",
"rgb": {
"r": 76,
"g": 95,
"b": 204
},
"hsl": {
"h": 231.094,
"s": 55.652,
"l": 54.902
},
"oklch": {
"l": 0.53049,
"c": 0.16915,
"h": 271.9
},
"luminance": 0.14081
}Semantic roles & 50–950 ramp
primary
#4C5FCC
secondary
#D5CD9F
accent
#C949DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83