#4D5FD8#4D5FD8
#4D5FD8 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.0% C 0.185 H 272.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #4D5FD8 |
|---|---|
| RGB | rgb(77, 95, 216) |
| HSL | hsl(232, 64%, 57%) |
| HSV | hsv(232, 64%, 85%) |
| CMYK | cmyk(64.4%, 56%, 0%, 15.3%) |
| CIE-LAB | lab(45.25, 31.12, -64.32) |
| CIE-LCH | lch(45.25, 71.45, 295.82°) |
| OKLab | oklab(54.01% 0.0073 -0.1849) |
| OKLCH | oklch(54.01% 0.185 272.3) |
| XYZ | xyz(19.5433, 14.7183, 66.7634) |
| Luminance | 0.1472 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.56
Azul
#1D5DEC
ΔE00 3.96
Dark Periwinkle
#665FD1
ΔE00 4.11
Royal Blue
#4169E1
ΔE00 4.15
Iris
#6258C4
ΔE00 5.21
Slate Blue
#6A5ACD
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D5FD8 #D8C64D
analogous
#4DA5D8 #4D5FD8 #804DD8
triadic
#4D5FD8 #D84D5F #5FD84D
tetradic
#4D5FD8 #D84DA5 #D8C64D #4DD880
square
#4D5FD8 #D84DA5 #D8C64D #4DD880
split-complementary
#4D5FD8 #D8804D #A5D84D
monochromatic
#1F2D8C #2A3DBE #4D5FD8 #7F8CE3 #B1B9EE
Accessibility & contrast
On white
5.32
#4D5FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#4D5FD8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D5FD8
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D5FD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D5FD8 | 1.00 | 5.32 | 3.94 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 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: #4d5fd8; /* rgb */ color: rgb(77, 95, 216); /* oklch */ color: oklch(54.0% 0.185 272.3);
Tailwind
colors: {
custom: {
50: '#8d8ce5',
500: '#4d5fd8',
950: '#000000',
},
}SCSS
$custom: #4d5fd8; $custom-light: #8d8ce5; $custom-dark: #000000;
JSON
{
"hex": "#4d5fd8",
"rgb": {
"r": 77,
"g": 95,
"b": 216
},
"hsl": {
"h": 232.23,
"s": 64.055,
"l": 57.451
},
"oklch": {
"l": 0.54006,
"c": 0.18509,
"h": 272.3
},
"luminance": 0.1472
}Semantic roles & 50–950 ramp
primary
#4D5FD8
secondary
#DCD5A4
accent
#D241E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84