#4C5ED7#4C5ED7
#4C5ED7 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.7% C 0.185 H 272.2°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4C5ED7 |
|---|---|
| RGB | rgb(76, 94, 215) |
| HSL | hsl(232, 63%, 57%) |
| HSV | hsv(232, 65%, 84%) |
| CMYK | cmyk(64.7%, 56.3%, 0%, 15.7%) |
| CIE-LAB | lab(44.87, 31.25, -64.36) |
| CIE-LCH | lch(44.87, 71.55, 295.90°) |
| OKLab | oklab(53.68% 0.0071 -0.1851) |
| OKLCH | oklch(53.68% 0.185 272.2) |
| XYZ | xyz(19.2448, 14.4465, 66.0511) |
| Luminance | 0.1445 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.29
Azul
#1D5DEC
ΔE00 3.94
Dark Periwinkle
#665FD1
ΔE00 4.19
Royal Blue
#4169E1
ΔE00 4.42
Iris
#6258C4
ΔE00 5.07
Slate Blue
#6A5ACD
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C5ED7 #D7C54C
analogous
#4CA4D7 #4C5ED7 #804CD7
triadic
#4C5ED7 #D74C5E #5ED74C
tetradic
#4C5ED7 #D74CA4 #D7C54C #4CD780
square
#4C5ED7 #D74CA4 #D7C54C #4CD780
split-complementary
#4C5ED7 #D7804C #A4D74C
monochromatic
#1F2D8A #2A3DBC #4C5ED7 #7E8BE2 #B0B8ED
Accessibility & contrast
On white
5.40
#4C5ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#4C5ED7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C5ED7
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C5ED7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C5ED7 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#0064D5
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4c5ed7; /* rgb */ color: rgb(76, 94, 215); /* oklch */ color: oklch(53.7% 0.185 272.2);
Tailwind
colors: {
custom: {
50: '#8d8be4',
500: '#4c5ed7',
950: '#000000',
},
}SCSS
$custom: #4c5ed7; $custom-light: #8d8be4; $custom-dark: #000000;
JSON
{
"hex": "#4c5ed7",
"rgb": {
"r": 76,
"g": 94,
"b": 215
},
"hsl": {
"h": 232.23,
"s": 63.47,
"l": 57.059
},
"oklch": {
"l": 0.53684,
"c": 0.18527,
"h": 272.2
},
"luminance": 0.14448
}Semantic roles & 50–950 ramp
primary
#4C5ED7
secondary
#DCD4A3
accent
#D141E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84