#4E62D4#4E62D4
#4E62D4 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.3% C 0.176 H 271.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #4E62D4 |
|---|---|
| RGB | rgb(78, 98, 212) |
| HSL | hsl(231, 61%, 57%) |
| HSV | hsv(231, 63%, 83%) |
| CMYK | cmyk(63.2%, 53.8%, 0%, 16.9%) |
| CIE-LAB | lab(45.78, 28.04, -61.16) |
| CIE-LCH | lch(45.78, 67.29, 294.63°) |
| OKLab | oklab(54.33% 0.0055 -0.1756) |
| OKLCH | oklch(54.33% 0.176 271.8) |
| XYZ | xyz(19.3893, 15.1069, 64.1687) |
| Luminance | 0.1511 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.48
Warm Blue
#4B57DB
ΔE00 3.64
Azul
#1D5DEC
ΔE00 4.30
Dark Periwinkle
#665FD1
ΔE00 4.38
Cornflower Blue
#5170D7
ΔE00 4.89
Iris
#6258C4
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E62D4 #D4C04E
analogous
#4EA5D4 #4E62D4 #7D4ED4
triadic
#4E62D4 #D44E62 #62D44E
tetradic
#4E62D4 #D44EA5 #D4C04E #4ED47D
square
#4E62D4 #D44EA5 #D4C04E #4ED47D
split-complementary
#4E62D4 #D47D4E #A5D44E
monochromatic
#213087 #2D42B8 #4E62D4 #7F8EE0 #B0B9EC
Accessibility & contrast
On white
5.22
#4E62D4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#4E62D4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E62D4
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E62D4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E62D4 | 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)
#1073D8
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#007D91
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4e62d4; /* rgb */ color: rgb(78, 98, 212); /* oklch */ color: oklch(54.3% 0.176 271.8);
Tailwind
colors: {
custom: {
50: '#8d8ee2',
500: '#4e62d4',
950: '#000000',
},
}SCSS
$custom: #4e62d4; $custom-light: #8d8ee2; $custom-dark: #000000;
JSON
{
"hex": "#4e62d4",
"rgb": {
"r": 78,
"g": 98,
"b": 212
},
"hsl": {
"h": 231.045,
"s": 60.909,
"l": 56.863
},
"oklch": {
"l": 0.54332,
"c": 0.17571,
"h": 271.8
},
"luminance": 0.15109
}Semantic roles & 50–950 ramp
primary
#4E62D4
secondary
#DAD2A4
accent
#CC44E4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83