#4D5FC5#4D5FC5
#4D5FC5 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.6% C 0.159 H 272.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #4D5FC5 |
|---|---|
| RGB | rgb(77, 95, 197) |
| HSL | hsl(231, 51%, 54%) |
| HSV | hsv(231, 61%, 77%) |
| CMYK | cmyk(60.9%, 51.8%, 0%, 22.7%) |
| CIE-LAB | lab(43.93, 24.63, -55.53) |
| CIE-LCH | lch(43.93, 60.75, 293.92°) |
| OKLab | oklab(52.6% 0.0063 -0.1591) |
| OKLCH | oklch(52.6% 0.159 272.3) |
| XYZ | xyz(17.2275, 13.7920, 54.5668) |
| Luminance | 0.1379 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.98
Dark Periwinkle
#665FD1
ΔE00 4.86
Iris
#6258C4
ΔE00 4.94
Royal Blue
#4169E1
ΔE00 5.24
Azul
#1D5DEC
ΔE00 5.44
Slate Blue
#6A5ACD
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D5FC5 #C5B34D
analogous
#4D9BC5 #4D5FC5 #774DC5
triadic
#4D5FC5 #C54D5F #5FC54D
tetradic
#4D5FC5 #C54D9B #C5B34D #4DC577
square
#4D5FC5 #C54D9B #C5B34D #4DC577
split-complementary
#4D5FC5 #C5774D #9BC54D
monochromatic
#253172 #3445A0 #4D5FC5 #7B88D4 #A9B2E3
Accessibility & contrast
On white
5.59
#4D5FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#4D5FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D5FC5
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D5FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D5FC5 | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#246DC9
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4d5fc5; /* rgb */ color: rgb(77, 95, 197); /* oklch */ color: oklch(52.6% 0.159 272.3);
Tailwind
colors: {
custom: {
50: '#8a8cd7',
500: '#4d5fc5',
950: '#000000',
},
}SCSS
$custom: #4d5fc5; $custom-light: #8a8cd7; $custom-dark: #000000;
JSON
{
"hex": "#4d5fc5",
"rgb": {
"r": 77,
"g": 95,
"b": 197
},
"hsl": {
"h": 231,
"s": 50.847,
"l": 53.725
},
"oklch": {
"l": 0.52603,
"c": 0.15922,
"h": 272.3
},
"luminance": 0.13793
}Semantic roles & 50–950 ramp
primary
#4D5FC5
secondary
#D1C99D
accent
#C54DDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83