#4D62D9#4D62D9
#4D62D9 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.6% C 0.183 H 271.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4D62D9 |
|---|---|
| RGB | rgb(77, 98, 217) |
| HSL | hsl(231, 65%, 58%) |
| HSV | hsv(231, 65%, 85%) |
| CMYK | cmyk(64.5%, 54.8%, 0%, 14.9%) |
| CIE-LAB | lab(46.07, 29.59, -63.55) |
| CIE-LCH | lch(46.07, 70.10, 294.97°) |
| OKLab | oklab(54.65% 0.0047 -0.1827) |
| OKLCH | oklch(54.65% 0.183 271.5) |
| XYZ | xyz(19.9484, 15.3211, 67.5382) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.21
Warm Blue
#4B57DB
ΔE00 3.54
Azul
#1D5DEC
ΔE00 3.95
Dark Periwinkle
#665FD1
ΔE00 4.47
Cornflower Blue
#5170D7
ΔE00 4.84
Bright Blue
#0165FC
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D62D9 #D9C44D
analogous
#4DA8D9 #4D62D9 #7E4DD9
triadic
#4D62D9 #D94D62 #62D94D
tetradic
#4D62D9 #D94DA8 #D9C44D #4DD97E
square
#4D62D9 #D94DA8 #D9C44D #4DD97E
split-complementary
#4D62D9 #D97E4D #A8D94D
monochromatic
#1E2F8D #2940C0 #4D62D9 #7F8EE4 #B2BBEF
Accessibility & contrast
On white
5.17
#4D62D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#4D62D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D62D9
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D62D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D62D9 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#007E94
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4d62d9; /* rgb */ color: rgb(77, 98, 217); /* oklch */ color: oklch(54.6% 0.183 271.5);
Tailwind
colors: {
custom: {
50: '#8d8ee6',
500: '#4d62d9',
950: '#000000',
},
}SCSS
$custom: #4d62d9; $custom-light: #8d8ee6; $custom-dark: #000000;
JSON
{
"hex": "#4d62d9",
"rgb": {
"r": 77,
"g": 98,
"b": 217
},
"hsl": {
"h": 231,
"s": 64.815,
"l": 57.647
},
"oklch": {
"l": 0.54645,
"c": 0.18272,
"h": 271.5
},
"luminance": 0.15323
}Semantic roles & 50–950 ramp
primary
#4D62D9
secondary
#DDD5A5
accent
#CF40E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84