#4D62DC#4D62DC
#4D62DC is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.9% C 0.187 H 271.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #4D62DC |
|---|---|
| RGB | rgb(77, 98, 220) |
| HSL | hsl(231, 67%, 58%) |
| HSV | hsv(231, 65%, 86%) |
| CMYK | cmyk(65%, 55.5%, 0%, 13.7%) |
| CIE-LAB | lab(46.28, 30.62, -64.91) |
| CIE-LCH | lch(46.28, 71.77, 295.26°) |
| OKLab | oklab(54.87% 0.0048 -0.1867) |
| OKLCH | oklch(54.87% 0.187 271.5) |
| XYZ | xyz(20.3422, 15.4786, 69.6119) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.16
Warm Blue
#4B57DB
ΔE00 3.53
Azul
#1D5DEC
ΔE00 3.85
Dark Periwinkle
#665FD1
ΔE00 4.49
Cornflower Blue
#5170D7
ΔE00 4.86
Bright Blue
#0165FC
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D62DC #DCC74D
analogous
#4DA9DC #4D62DC #7F4DDC
triadic
#4D62DC #DC4D62 #62DC4D
tetradic
#4D62DC #DC4DA9 #DCC74D #4DDC7F
square
#4D62DC #DC4DA9 #DCC74D #4DDC7F
split-complementary
#4D62DC #DC7F4D #A9DC4D
monochromatic
#1D2E92 #273EC5 #4D62DC #808FE6 #B3BCF0
Accessibility & contrast
On white
5.13
#4D62DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#4D62DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D62DC
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D62DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D62DC | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #4d62dc; /* rgb */ color: rgb(77, 98, 220); /* oklch */ color: oklch(54.9% 0.187 271.5);
Tailwind
colors: {
custom: {
50: '#8e8ee8',
500: '#4d62dc',
950: '#000000',
},
}SCSS
$custom: #4d62dc; $custom-light: #8e8ee8; $custom-dark: #000000;
JSON
{
"hex": "#4d62dc",
"rgb": {
"r": 77,
"g": 98,
"b": 220
},
"hsl": {
"h": 231.189,
"s": 67.136,
"l": 58.235
},
"oklch": {
"l": 0.54871,
"c": 0.18673,
"h": 271.5
},
"luminance": 0.1548
}Semantic roles & 50–950 ramp
primary
#4D62DC
secondary
#DFD7A6
accent
#D13EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84