#4E62D7#4E62D7
#4E62D7 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.6% C 0.180 H 271.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4E62D7 |
|---|---|
| RGB | rgb(78, 98, 215) |
| HSL | hsl(231, 63%, 57%) |
| HSV | hsv(231, 64%, 84%) |
| CMYK | cmyk(63.7%, 54.4%, 0%, 15.7%) |
| CIE-LAB | lab(45.99, 29.07, -62.54) |
| CIE-LCH | lch(45.99, 68.97, 294.93°) |
| OKLab | oklab(54.55% 0.0056 -0.1797) |
| OKLCH | oklch(54.55% 0.18 271.8) |
| XYZ | xyz(19.7712, 15.2596, 66.1803) |
| Luminance | 0.1526 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.36
Warm Blue
#4B57DB
ΔE00 3.55
Azul
#1D5DEC
ΔE00 4.14
Dark Periwinkle
#665FD1
ΔE00 4.34
Cornflower Blue
#5170D7
ΔE00 4.86
Bright Blue
#0165FC
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E62D7 #D7C34E
analogous
#4EA6D7 #4E62D7 #7F4ED7
triadic
#4E62D7 #D74E62 #62D74E
tetradic
#4E62D7 #D74EA6 #D7C34E #4ED77F
square
#4E62D7 #D74EA6 #D7C34E #4ED77F
split-complementary
#4E62D7 #D77F4E #A6D74E
monochromatic
#1F2F8B #2B40BD #4E62D7 #808EE2 #B2BBEE
Accessibility & contrast
On white
5.18
#4E62D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#4E62D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E62D7
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E62D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E62D7 | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0373DB
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#007E93
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4e62d7; /* rgb */ color: rgb(78, 98, 215); /* oklch */ color: oklch(54.6% 0.180 271.8);
Tailwind
colors: {
custom: {
50: '#8d8ee4',
500: '#4e62d7',
950: '#000000',
},
}SCSS
$custom: #4e62d7; $custom-light: #8d8ee4; $custom-dark: #000000;
JSON
{
"hex": "#4e62d7",
"rgb": {
"r": 78,
"g": 98,
"b": 215
},
"hsl": {
"h": 231.241,
"s": 63.134,
"l": 57.451
},
"oklch": {
"l": 0.54554,
"c": 0.17976,
"h": 271.8
},
"luminance": 0.15261
}Semantic roles & 50–950 ramp
primary
#4E62D7
secondary
#DCD4A5
accent
#CE42E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84