#4D62D5#4D62D5
#4D62D5 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.3% C 0.177 H 271.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #4D62D5 |
|---|---|
| RGB | rgb(77, 98, 213) |
| HSL | hsl(231, 62%, 57%) |
| HSV | hsv(231, 64%, 84%) |
| CMYK | cmyk(63.8%, 54%, 0%, 16.5%) |
| CIE-LAB | lab(45.79, 28.22, -61.72) |
| CIE-LCH | lch(45.79, 67.86, 294.57°) |
| OKLab | oklab(54.35% 0.0045 -0.1773) |
| OKLCH | oklch(54.35% 0.177 271.5) |
| XYZ | xyz(19.4345, 15.1155, 64.8313) |
| Luminance | 0.1512 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.35
Warm Blue
#4B57DB
ΔE00 3.64
Azul
#1D5DEC
ΔE00 4.14
Dark Periwinkle
#665FD1
ΔE00 4.51
Cornflower Blue
#5170D7
ΔE00 4.85
Bright Blue
#0165FC
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D62D5 #D5C04D
analogous
#4DA6D5 #4D62D5 #7C4DD5
triadic
#4D62D5 #D54D62 #62D54D
tetradic
#4D62D5 #D54DA6 #D5C04D #4DD57C
square
#4D62D5 #D54DA6 #D5C04D #4DD57C
split-complementary
#4D62D5 #D57C4D #A6D54D
monochromatic
#203088 #2C42B9 #4D62D5 #7F8EE1 #B0B9EC
Accessibility & contrast
On white
5.22
#4D62D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#4D62D5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D62D5
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D62D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D62D5 | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C73D9
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#007D92
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4d62d5; /* rgb */ color: rgb(77, 98, 213); /* oklch */ color: oklch(54.3% 0.177 271.5);
Tailwind
colors: {
custom: {
50: '#8c8ee3',
500: '#4d62d5',
950: '#000000',
},
}SCSS
$custom: #4d62d5; $custom-light: #8c8ee3; $custom-dark: #000000;
JSON
{
"hex": "#4d62d5",
"rgb": {
"r": 77,
"g": 98,
"b": 213
},
"hsl": {
"h": 230.735,
"s": 61.818,
"l": 56.863
},
"oklch": {
"l": 0.54348,
"c": 0.17734,
"h": 271.5
},
"luminance": 0.15117
}Semantic roles & 50–950 ramp
primary
#4D62D5
secondary
#DBD2A3
accent
#CC43E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C15
muted
#7E7D84