#4D62D8#4D62D8
#4D62D8 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.6% C 0.181 H 271.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4D62D8 |
|---|---|
| RGB | rgb(77, 98, 216) |
| HSL | hsl(231, 64%, 57%) |
| HSV | hsv(231, 64%, 85%) |
| CMYK | cmyk(64.4%, 54.6%, 0%, 15.3%) |
| CIE-LAB | lab(46.00, 29.25, -63.09) |
| CIE-LCH | lch(46.00, 69.54, 294.87°) |
| OKLab | oklab(54.57% 0.0047 -0.1813) |
| OKLCH | oklch(54.57% 0.181 271.5) |
| XYZ | xyz(19.8188, 15.2693, 66.8553) |
| Luminance | 0.1527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.24
Warm Blue
#4B57DB
ΔE00 3.56
Azul
#1D5DEC
ΔE00 3.99
Dark Periwinkle
#665FD1
ΔE00 4.48
Cornflower Blue
#5170D7
ΔE00 4.84
Bright Blue
#0165FC
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D62D8 #D8C34D
analogous
#4DA8D8 #4D62D8 #7D4DD8
triadic
#4D62D8 #D84D62 #62D84D
tetradic
#4D62D8 #D84DA8 #D8C34D #4DD87D
square
#4D62D8 #D84DA8 #D8C34D #4DD87D
split-complementary
#4D62D8 #D87D4D #A8D84D
monochromatic
#1F2F8C #2A40BE #4D62D8 #7F8EE3 #B1BBEE
Accessibility & contrast
On white
5.18
#4D62D8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#4D62D8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D62D8
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D62D8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D62D8 | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073DC
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#007E93
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4d62d8; /* rgb */ color: rgb(77, 98, 216); /* oklch */ color: oklch(54.6% 0.181 271.5);
Tailwind
colors: {
custom: {
50: '#8d8ee5',
500: '#4d62d8',
950: '#000000',
},
}SCSS
$custom: #4d62d8; $custom-light: #8d8ee5; $custom-dark: #000000;
JSON
{
"hex": "#4d62d8",
"rgb": {
"r": 77,
"g": 98,
"b": 216
},
"hsl": {
"h": 230.935,
"s": 64.055,
"l": 57.451
},
"oklch": {
"l": 0.54571,
"c": 0.18138,
"h": 271.5
},
"luminance": 0.15271
}Semantic roles & 50–950 ramp
primary
#4D62D8
secondary
#DCD4A4
accent
#CE41E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84