#4E62D5#4E62D5
#4E62D5 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.4% C 0.177 H 271.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #4E62D5 |
|---|---|
| RGB | rgb(78, 98, 213) |
| HSL | hsl(231, 62%, 57%) |
| HSV | hsv(231, 63%, 84%) |
| CMYK | cmyk(63.4%, 54%, 0%, 16.5%) |
| CIE-LAB | lab(45.85, 28.38, -61.62) |
| CIE-LCH | lch(45.85, 67.85, 294.73°) |
| OKLab | oklab(54.41% 0.0055 -0.177) |
| OKLCH | oklch(54.41% 0.177 271.8) |
| XYZ | xyz(19.5158, 15.1575, 64.8351) |
| Luminance | 0.1516 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.43
Warm Blue
#4B57DB
ΔE00 3.61
Azul
#1D5DEC
ΔE00 4.25
Dark Periwinkle
#665FD1
ΔE00 4.36
Cornflower Blue
#5170D7
ΔE00 4.88
Iris
#6258C4
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E62D5 #D5C14E
analogous
#4EA6D5 #4E62D5 #7E4ED5
triadic
#4E62D5 #D54E62 #62D54E
tetradic
#4E62D5 #D54EA6 #D5C14E #4ED57E
square
#4E62D5 #D54EA6 #D5C14E #4ED57E
split-complementary
#4E62D5 #D57E4E #A6D54E
monochromatic
#203088 #2C41BA #4E62D5 #7F8EE1 #B1BAEC
Accessibility & contrast
On white
5.21
#4E62D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#4E62D5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E62D5
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E62D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E62D5 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C73D9
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#007D92
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4e62d5; /* rgb */ color: rgb(78, 98, 213); /* oklch */ color: oklch(54.4% 0.177 271.8);
Tailwind
colors: {
custom: {
50: '#8d8ee3',
500: '#4e62d5',
950: '#000000',
},
}SCSS
$custom: #4e62d5; $custom-light: #8d8ee3; $custom-dark: #000000;
JSON
{
"hex": "#4e62d5",
"rgb": {
"r": 78,
"g": 98,
"b": 213
},
"hsl": {
"h": 231.111,
"s": 61.644,
"l": 57.059
},
"oklch": {
"l": 0.54406,
"c": 0.17706,
"h": 271.8
},
"luminance": 0.15159
}Semantic roles & 50–950 ramp
primary
#4E62D5
secondary
#DBD3A4
accent
#CD43E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C15
muted
#7E7D84