#4D5FE1#4D5FE1
#4D5FE1 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.7% C 0.197 H 272.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #4D5FE1 |
|---|---|
| RGB | rgb(77, 95, 225) |
| HSL | hsl(233, 71%, 59%) |
| HSV | hsv(233, 66%, 88%) |
| CMYK | cmyk(65.8%, 57.8%, 0%, 11.8%) |
| CIE-LAB | lab(45.90, 34.19, -68.37) |
| CIE-LCH | lch(45.90, 76.44, 296.57°) |
| OKLab | oklab(54.7% 0.0075 -0.1969) |
| OKLCH | oklch(54.7% 0.197 272.2) |
| XYZ | xyz(20.7388, 15.1966, 73.0599) |
| Luminance | 0.1520 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.66
Azul
#1D5DEC
ΔE00 3.74
Royal Blue
#4169E1
ΔE00 4.08
Dark Periwinkle
#665FD1
ΔE00 4.26
Electric Blue
#0652FF
ΔE00 5.23
Bright Blue
#0165FC
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D5FE1 #E1CF4D
analogous
#4DA9E1 #4D5FE1 #854DE1
triadic
#4D5FE1 #E14D5F #5FE14D
tetradic
#4D5FE1 #E14DA9 #E1CF4D #4DE185
square
#4D5FE1 #E14DA9 #E1CF4D #4DE185
split-complementary
#4D5FE1 #E1854D #A9E14D
monochromatic
#1A299A #2338CE #4D5FE1 #818EEA #B6BDF3
Accessibility & contrast
On white
5.20
#4D5FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#4D5FE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D5FE1
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D5FE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D5FE1 | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4d5fe1; /* rgb */ color: rgb(77, 95, 225); /* oklch */ color: oklch(54.7% 0.197 272.2);
Tailwind
colors: {
custom: {
50: '#8f8ceb',
500: '#4d5fe1',
950: '#000000',
},
}SCSS
$custom: #4d5fe1; $custom-light: #8f8ceb; $custom-dark: #000000;
JSON
{
"hex": "#4d5fe1",
"rgb": {
"r": 77,
"g": 95,
"b": 225
},
"hsl": {
"h": 232.703,
"s": 71.154,
"l": 59.216
},
"oklch": {
"l": 0.54701,
"c": 0.197,
"h": 272.2
},
"luminance": 0.15198
}Semantic roles & 50–950 ramp
primary
#4D5FE1
secondary
#E2DBA8
accent
#D83AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84