#4C5FD7#4C5FD7
#4C5FD7 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.9% C 0.184 H 271.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #4C5FD7 |
|---|---|
| RGB | rgb(76, 95, 215) |
| HSL | hsl(232, 63%, 57%) |
| HSV | hsv(232, 65%, 84%) |
| CMYK | cmyk(64.7%, 55.8%, 0%, 15.7%) |
| CIE-LAB | lab(45.12, 30.62, -63.96) |
| CIE-LCH | lch(45.12, 70.91, 295.59°) |
| OKLab | oklab(53.87% 0.0063 -0.1839) |
| OKLCH | oklch(53.87% 0.184 271.9) |
| XYZ | xyz(19.3343, 14.6255, 66.0809) |
| Luminance | 0.1463 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.61
Azul
#1D5DEC
ΔE00 3.90
Royal Blue
#4169E1
ΔE00 4.11
Dark Periwinkle
#665FD1
ΔE00 4.26
Iris
#6258C4
ΔE00 5.27
Slate Blue
#6A5ACD
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C5FD7 #D7C44C
analogous
#4CA4D7 #4C5FD7 #7F4CD7
triadic
#4C5FD7 #D74C5F #5FD74C
tetradic
#4C5FD7 #D74CA4 #D7C44C #4CD77F
square
#4C5FD7 #D74CA4 #D7C44C #4CD77F
split-complementary
#4C5FD7 #D77F4C #A4D74C
monochromatic
#1F2D8A #2A3EBC #4C5FD7 #7E8CE2 #B0B8ED
Accessibility & contrast
On white
5.35
#4C5FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#4C5FD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C5FD7
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C5FD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C5FD7 | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4c5fd7; /* rgb */ color: rgb(76, 95, 215); /* oklch */ color: oklch(53.9% 0.184 271.9);
Tailwind
colors: {
custom: {
50: '#8c8ce4',
500: '#4c5fd7',
950: '#000000',
},
}SCSS
$custom: #4c5fd7; $custom-light: #8c8ce4; $custom-dark: #000000;
JSON
{
"hex": "#4c5fd7",
"rgb": {
"r": 76,
"g": 95,
"b": 215
},
"hsl": {
"h": 231.799,
"s": 63.47,
"l": 57.059
},
"oklch": {
"l": 0.53871,
"c": 0.18403,
"h": 271.9
},
"luminance": 0.14627
}Semantic roles & 50–950 ramp
primary
#4C5FD7
secondary
#DCD4A3
accent
#D041E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84