#4E62D2#4E62D2
#4E62D2 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.2% C 0.173 H 271.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #4E62D2 |
|---|---|
| RGB | rgb(78, 98, 210) |
| HSL | hsl(231, 59%, 56%) |
| HSV | hsv(231, 63%, 82%) |
| CMYK | cmyk(62.9%, 53.3%, 0%, 17.6%) |
| CIE-LAB | lab(45.64, 27.36, -60.24) |
| CIE-LCH | lch(45.64, 66.16, 294.43°) |
| OKLab | oklab(54.19% 0.0054 -0.1729) |
| OKLCH | oklch(54.19% 0.173 271.8) |
| XYZ | xyz(19.1385, 15.0066, 62.8483) |
| Luminance | 0.1501 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.58
Warm Blue
#4B57DB
ΔE00 3.73
Dark Periwinkle
#665FD1
ΔE00 4.43
Azul
#1D5DEC
ΔE00 4.43
Cornflower Blue
#5170D7
ΔE00 4.92
Iris
#6258C4
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E62D2 #D2BE4E
analogous
#4EA4D2 #4E62D2 #7C4ED2
triadic
#4E62D2 #D24E62 #62D24E
tetradic
#4E62D2 #D24EA4 #D2BE4E #4ED27C
square
#4E62D2 #D24EA4 #D2BE4E #4ED27C
split-complementary
#4E62D2 #D27C4E #A4D24E
monochromatic
#223084 #2E42B5 #4E62D2 #7F8DDE #B0B9EB
Accessibility & contrast
On white
5.25
#4E62D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#4E62D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E62D2
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E62D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E62D2 | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1672D6
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#007C90
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4e62d2; /* rgb */ color: rgb(78, 98, 210); /* oklch */ color: oklch(54.2% 0.173 271.8);
Tailwind
colors: {
custom: {
50: '#8c8ee0',
500: '#4e62d2',
950: '#000000',
},
}SCSS
$custom: #4e62d2; $custom-light: #8c8ee0; $custom-dark: #000000;
JSON
{
"hex": "#4e62d2",
"rgb": {
"r": 78,
"g": 98,
"b": 210
},
"hsl": {
"h": 230.909,
"s": 59.459,
"l": 56.471
},
"oklch": {
"l": 0.54186,
"c": 0.17299,
"h": 271.8
},
"luminance": 0.15008
}Semantic roles & 50–950 ramp
primary
#4E62D2
secondary
#D9D1A3
accent
#CB45E3
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83