#4C5FD8#4C5FD8
#4C5FD8 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.9% C 0.185 H 271.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #4C5FD8 |
|---|---|
| RGB | rgb(76, 95, 216) |
| HSL | hsl(232, 64%, 57%) |
| HSV | hsv(232, 65%, 85%) |
| CMYK | cmyk(64.8%, 56%, 0%, 15.3%) |
| CIE-LAB | lab(45.19, 30.97, -64.41) |
| CIE-LCH | lch(45.19, 71.47, 295.68°) |
| OKLab | oklab(53.95% 0.0063 -0.1853) |
| OKLCH | oklch(53.95% 0.185 271.9) |
| XYZ | xyz(19.4632, 14.6770, 66.7597) |
| Luminance | 0.1468 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.59
Azul
#1D5DEC
ΔE00 3.85
Royal Blue
#4169E1
ΔE00 4.08
Dark Periwinkle
#665FD1
ΔE00 4.25
Iris
#6258C4
ΔE00 5.31
Slate Blue
#6A5ACD
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C5FD8 #D8C54C
analogous
#4CA5D8 #4C5FD8 #7F4CD8
triadic
#4C5FD8 #D84C5F #5FD84C
tetradic
#4C5FD8 #D84CA5 #D8C54C #4CD87F
square
#4C5FD8 #D84CA5 #D8C54C #4CD87F
split-complementary
#4C5FD8 #D87F4C #A5D84C
monochromatic
#1E2D8B #293DBE #4C5FD8 #7E8CE3 #B1B9EE
Accessibility & contrast
On white
5.34
#4C5FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#4C5FD8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C5FD8
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C5FD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C5FD8 | 1.00 | 5.34 | 3.94 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4c5fd8; /* rgb */ color: rgb(76, 95, 216); /* oklch */ color: oklch(53.9% 0.185 271.9);
Tailwind
colors: {
custom: {
50: '#8d8ce5',
500: '#4c5fd8',
950: '#000000',
},
}SCSS
$custom: #4c5fd8; $custom-light: #8d8ce5; $custom-dark: #000000;
JSON
{
"hex": "#4c5fd8",
"rgb": {
"r": 76,
"g": 95,
"b": 216
},
"hsl": {
"h": 231.857,
"s": 64.22,
"l": 57.255
},
"oklch": {
"l": 0.53948,
"c": 0.18537,
"h": 271.9
},
"luminance": 0.14679
}Semantic roles & 50–950 ramp
primary
#4C5FD8
secondary
#DCD5A4
accent
#D141E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84