#4E62D1#4E62D1
#4E62D1 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.1% C 0.172 H 271.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #4E62D1 |
|---|---|
| RGB | rgb(78, 98, 209) |
| HSL | hsl(231, 59%, 56%) |
| HSV | hsv(231, 63%, 82%) |
| CMYK | cmyk(62.7%, 53.1%, 0%, 18%) |
| CIE-LAB | lab(45.58, 27.02, -59.78) |
| CIE-LCH | lch(45.58, 65.60, 294.32°) |
| OKLab | oklab(54.11% 0.0053 -0.1715) |
| OKLCH | oklch(54.11% 0.172 271.8) |
| XYZ | xyz(19.0143, 14.9569, 62.1942) |
| Luminance | 0.1496 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.64
Warm Blue
#4B57DB
ΔE00 3.78
Dark Periwinkle
#665FD1
ΔE00 4.45
Azul
#1D5DEC
ΔE00 4.49
Cornflower Blue
#5170D7
ΔE00 4.94
Iris
#6258C4
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E62D1 #D1BD4E
analogous
#4EA4D1 #4E62D1 #7C4ED1
triadic
#4E62D1 #D14E62 #62D14E
tetradic
#4E62D1 #D14EA4 #D1BD4E #4ED17C
square
#4E62D1 #D14EA4 #D1BD4E #4ED17C
split-complementary
#4E62D1 #D17C4E #A4D14E
monochromatic
#223183 #2F43B3 #4E62D1 #7F8DDE #AFB8EA
Accessibility & contrast
On white
5.26
#4E62D1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#4E62D1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E62D1
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E62D1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E62D1 | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1972D5
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#007C90
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4e62d1; /* rgb */ color: rgb(78, 98, 209); /* oklch */ color: oklch(54.1% 0.172 271.8);
Tailwind
colors: {
custom: {
50: '#8c8ee0',
500: '#4e62d1',
950: '#000000',
},
}SCSS
$custom: #4e62d1; $custom-light: #8c8ee0; $custom-dark: #000000;
JSON
{
"hex": "#4e62d1",
"rgb": {
"r": 78,
"g": 98,
"b": 209
},
"hsl": {
"h": 230.84,
"s": 58.744,
"l": 56.275
},
"oklch": {
"l": 0.54113,
"c": 0.17163,
"h": 271.8
},
"luminance": 0.14959
}Semantic roles & 50–950 ramp
primary
#4E62D1
secondary
#D8D0A2
accent
#CA46E2
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83