#4D5FD5#4D5FD5
#4D5FD5 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.8% C 0.181 H 272.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #4D5FD5 |
|---|---|
| RGB | rgb(77, 95, 213) |
| HSL | hsl(232, 62%, 57%) |
| HSV | hsv(232, 64%, 84%) |
| CMYK | cmyk(63.8%, 55.4%, 0%, 16.5%) |
| CIE-LAB | lab(45.03, 30.10, -62.95) |
| CIE-LCH | lch(45.03, 69.77, 295.55°) |
| OKLab | oklab(53.78% 0.0072 -0.1809) |
| OKLCH | oklch(53.78% 0.181 272.3) |
| XYZ | xyz(19.1590, 14.5646, 64.7395) |
| Luminance | 0.1457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.65
Azul
#1D5DEC
ΔE00 4.12
Dark Periwinkle
#665FD1
ΔE00 4.14
Royal Blue
#4169E1
ΔE00 4.24
Iris
#6258C4
ΔE00 5.08
Slate Blue
#6A5ACD
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D5FD5 #D5C34D
analogous
#4DA3D5 #4D5FD5 #7F4DD5
triadic
#4D5FD5 #D54D5F #5FD54D
tetradic
#4D5FD5 #D54DA3 #D5C34D #4DD57F
square
#4D5FD5 #D54DA3 #D5C34D #4DD57F
split-complementary
#4D5FD5 #D57F4D #A3D54D
monochromatic
#202E88 #2C3EB9 #4D5FD5 #7F8CE1 #B0B8EC
Accessibility & contrast
On white
5.37
#4D5FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#4D5FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D5FD5
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D5FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D5FD5 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#0065D3
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4d5fd5; /* rgb */ color: rgb(77, 95, 213); /* oklch */ color: oklch(53.8% 0.181 272.3);
Tailwind
colors: {
custom: {
50: '#8d8ce3',
500: '#4d5fd5',
950: '#000000',
},
}SCSS
$custom: #4d5fd5; $custom-light: #8d8ce3; $custom-dark: #000000;
JSON
{
"hex": "#4d5fd5",
"rgb": {
"r": 77,
"g": 95,
"b": 213
},
"hsl": {
"h": 232.059,
"s": 61.818,
"l": 56.863
},
"oklch": {
"l": 0.53778,
"c": 0.18107,
"h": 272.3
},
"luminance": 0.14566
}Semantic roles & 50–950 ramp
primary
#4D5FD5
secondary
#DBD3A3
accent
#CF43E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C15
muted
#7E7D84