#4D7CE5#4D7CE5
#4D7CE5 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.6% C 0.167 H 264.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #4D7CE5 |
|---|---|
| RGB | rgb(77, 124, 229) |
| HSL | hsl(221, 75%, 60%) |
| HSV | hsv(221, 66%, 90%) |
| CMYK | cmyk(66.4%, 45.9%, 0%, 10.2%) |
| CIE-LAB | lab(53.65, 17.58, -58.10) |
| CIE-LCH | lch(53.65, 60.70, 286.84°) |
| OKLab | oklab(60.64% -0.0176 -0.1663) |
| OKLCH | oklch(60.64% 0.167 264) |
| XYZ | xyz(24.4061, 21.6478, 77.0058) |
| Luminance | 0.2165 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.55
Clear Blue
#247AFD
ΔE00 3.12
Dodger Blue
#3E82FC
ΔE00 3.37
Deep Sky Blue
#0D75F8
ΔE00 3.92
Azure
#007FFF
ΔE00 4.49
Soft Blue
#6488EA
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D7CE5 #E5B64D
analogous
#4DC8E5 #4D7CE5 #6A4DE5
triadic
#4D7CE5 #E54D7C #7CE54D
tetradic
#4D7CE5 #E54DC8 #E5B64D #4DE56A
square
#4D7CE5 #E54DC8 #E5B64D #4DE56A
split-complementary
#4D7CE5 #E56A4D #C8E54D
monochromatic
#1742A0 #1F58D6 #4D7CE5 #82A3ED #B8CBF5
Accessibility & contrast
On white
3.94
#4D7CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.33
#4D7CE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4D7CE5
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D7CE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4D7CE5 | 1.00 | 3.94 | 5.33 | 5.33 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4788E9
Deuteranopia (green-blind)
#297AE3
Tritanopia (blue-blind)
#0094A5
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #4d7ce5; /* rgb */ color: rgb(77, 124, 229); /* oklch */ color: oklch(60.6% 0.167 264.0);
Tailwind
colors: {
custom: {
50: '#8ea1ee',
500: '#4d7ce5',
950: '#000000',
},
}SCSS
$custom: #4d7ce5; $custom-light: #8ea1ee; $custom-dark: #000000;
JSON
{
"hex": "#4d7ce5",
"rgb": {
"r": 77,
"g": 124,
"b": 229
},
"hsl": {
"h": 221.447,
"s": 74.51,
"l": 60
},
"oklch": {
"l": 0.60644,
"c": 0.16721,
"h": 264
},
"luminance": 0.2165
}Semantic roles & 50–950 ramp
primary
#4D7CE5
secondary
#E4D2AA
accent
#B737F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84