#4D62DB#4D62DB
#4D62DB is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.8% C 0.185 H 271.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #4D62DB |
|---|---|
| RGB | rgb(77, 98, 219) |
| HSL | hsl(231, 66%, 58%) |
| HSV | hsv(231, 65%, 86%) |
| CMYK | cmyk(64.8%, 55.3%, 0%, 14.1%) |
| CIE-LAB | lab(46.21, 30.28, -64.46) |
| CIE-LCH | lch(46.21, 71.21, 295.16°) |
| OKLab | oklab(54.8% 0.0048 -0.1853) |
| OKLCH | oklch(54.8% 0.185 271.5) |
| XYZ | xyz(20.2101, 15.4258, 68.9165) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.18
Warm Blue
#4B57DB
ΔE00 3.53
Azul
#1D5DEC
ΔE00 3.88
Dark Periwinkle
#665FD1
ΔE00 4.48
Cornflower Blue
#5170D7
ΔE00 4.85
Bright Blue
#0165FC
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D62DB #DBC64D
analogous
#4DA9DB #4D62DB #7F4DDB
triadic
#4D62DB #DB4D62 #62DB4D
tetradic
#4D62DB #DB4DA9 #DBC64D #4DDB7F
square
#4D62DB #DB4DA9 #DBC64D #4DDB7F
split-complementary
#4D62DB #DB7F4D #A9DB4D
monochromatic
#1D2E90 #273FC3 #4D62DB #808FE5 #B3BCF0
Accessibility & contrast
On white
5.14
#4D62DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#4D62DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D62DB
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D62DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D62DB | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4d62db; /* rgb */ color: rgb(77, 98, 219); /* oklch */ color: oklch(54.8% 0.185 271.5);
Tailwind
colors: {
custom: {
50: '#8e8ee7',
500: '#4d62db',
950: '#000000',
},
}SCSS
$custom: #4d62db; $custom-light: #8e8ee7; $custom-dark: #000000;
JSON
{
"hex": "#4d62db",
"rgb": {
"r": 77,
"g": 98,
"b": 219
},
"hsl": {
"h": 231.127,
"s": 66.355,
"l": 58.039
},
"oklch": {
"l": 0.54796,
"c": 0.18539,
"h": 271.5
},
"luminance": 0.15428
}Semantic roles & 50–950 ramp
primary
#4D62DB
secondary
#DED6A6
accent
#D03FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84