#4D62E1#4D62E1
#4D62E1 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.3% C 0.193 H 271.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #4D62E1 |
|---|---|
| RGB | rgb(77, 98, 225) |
| HSL | hsl(231, 71%, 59%) |
| HSV | hsv(231, 66%, 88%) |
| CMYK | cmyk(65.8%, 56.4%, 0%, 11.8%) |
| CIE-LAB | lab(46.64, 32.33, -67.16) |
| CIE-LCH | lch(46.64, 74.54, 295.71°) |
| OKLab | oklab(55.25% 0.005 -0.1933) |
| OKLCH | oklch(55.25% 0.193 271.5) |
| XYZ | xyz(21.0143, 15.7475, 73.1517) |
| Luminance | 0.1575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.18
Warm Blue
#4B57DB
ΔE00 3.61
Azul
#1D5DEC
ΔE00 3.79
Dark Periwinkle
#665FD1
ΔE00 4.59
Bright Blue
#0165FC
ΔE00 4.80
Cornflower Blue
#5170D7
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D62E1 #E1CC4D
analogous
#4DACE1 #4D62E1 #824DE1
triadic
#4D62E1 #E14D62 #62E14D
tetradic
#4D62E1 #E14DAC #E1CC4D #4DE182
square
#4D62E1 #E14DAC #E1CC4D #4DE182
split-complementary
#4D62E1 #E1824D #ACE14D
monochromatic
#1A2C9A #233BCE #4D62E1 #8190EA #B6BEF3
Accessibility & contrast
On white
5.06
#4D62E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#4D62E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D62E1
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D62E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D62E1 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#0068DE
Tritanopia (blue-blind)
#008198
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #4d62e1; /* rgb */ color: rgb(77, 98, 225); /* oklch */ color: oklch(55.3% 0.193 271.5);
Tailwind
colors: {
custom: {
50: '#8f8eeb',
500: '#4d62e1',
950: '#000000',
},
}SCSS
$custom: #4d62e1; $custom-light: #8f8eeb; $custom-dark: #000000;
JSON
{
"hex": "#4d62e1",
"rgb": {
"r": 77,
"g": 98,
"b": 225
},
"hsl": {
"h": 231.486,
"s": 71.154,
"l": 59.216
},
"oklch": {
"l": 0.55252,
"c": 0.19336,
"h": 271.5
},
"luminance": 0.15749
}Semantic roles & 50–950 ramp
primary
#4D62E1
secondary
#E2DAA8
accent
#D43AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84