#4E62D9#4E62D9
#4E62D9 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.7% C 0.182 H 271.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #4E62D9 |
|---|---|
| RGB | rgb(78, 98, 217) |
| HSL | hsl(231, 65%, 58%) |
| HSV | hsv(231, 64%, 85%) |
| CMYK | cmyk(64.1%, 54.8%, 0%, 14.9%) |
| CIE-LAB | lab(46.13, 29.75, -63.45) |
| CIE-LCH | lch(46.13, 70.08, 295.12°) |
| OKLab | oklab(54.7% 0.0057 -0.1824) |
| OKLCH | oklch(54.7% 0.182 271.8) |
| XYZ | xyz(20.0298, 15.3631, 67.5420) |
| Luminance | 0.1537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.30
Warm Blue
#4B57DB
ΔE00 3.52
Azul
#1D5DEC
ΔE00 4.06
Dark Periwinkle
#665FD1
ΔE00 4.34
Cornflower Blue
#5170D7
ΔE00 4.86
Bright Blue
#0165FC
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E62D9 #D9C54E
analogous
#4EA7D9 #4E62D9 #7F4ED9
triadic
#4E62D9 #D94E62 #62D94E
tetradic
#4E62D9 #D94EA7 #D9C54E #4ED97F
square
#4E62D9 #D94EA7 #D9C54E #4ED97F
split-complementary
#4E62D9 #D97F4E #A7D94E
monochromatic
#1F2F8E #293FC0 #4E62D9 #808FE4 #B3BBEF
Accessibility & contrast
On white
5.16
#4E62D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#4E62D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E62D9
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E62D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E62D9 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 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: #4e62d9; /* rgb */ color: rgb(78, 98, 217); /* oklch */ color: oklch(54.7% 0.182 271.8);
Tailwind
colors: {
custom: {
50: '#8e8ee6',
500: '#4e62d9',
950: '#000000',
},
}SCSS
$custom: #4e62d9; $custom-light: #8e8ee6; $custom-dark: #000000;
JSON
{
"hex": "#4e62d9",
"rgb": {
"r": 78,
"g": 98,
"b": 217
},
"hsl": {
"h": 231.367,
"s": 64.651,
"l": 57.843
},
"oklch": {
"l": 0.54703,
"c": 0.18245,
"h": 271.8
},
"luminance": 0.15365
}Semantic roles & 50–950 ramp
primary
#4E62D9
secondary
#DDD5A6
accent
#D040E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84