#4E62C7#4E62C7
#4E62C7 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.4% C 0.158 H 271.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #4E62C7 |
|---|---|
| RGB | rgb(78, 98, 199) |
| HSL | hsl(230, 52%, 54%) |
| HSV | hsv(230, 61%, 78%) |
| CMYK | cmyk(60.8%, 50.8%, 0%, 22%) |
| CIE-LAB | lab(44.91, 23.60, -55.11) |
| CIE-LCH | lch(44.91, 59.95, 293.19°) |
| OKLab | oklab(53.4% 0.0045 -0.1578) |
| OKLCH | oklch(53.4% 0.158 271.6) |
| XYZ | xyz(17.8149, 14.4771, 55.8773) |
| Luminance | 0.1448 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 4.41
Warm Blue
#4B57DB
ΔE00 4.51
Dark Periwinkle
#665FD1
ΔE00 4.95
Cornflower Blue
#5170D7
ΔE00 5.32
Azul
#1D5DEC
ΔE00 5.33
Iris
#6258C4
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E62C7 #C7B34E
analogous
#4E9EC7 #4E62C7 #774EC7
triadic
#4E62C7 #C74E62 #62C74E
tetradic
#4E62C7 #C74E9E #C7B34E #4EC777
square
#4E62C7 #C74E9E #C7B34E #4EC777
split-complementary
#4E62C7 #C7774E #9EC74E
monochromatic
#253275 #3446A4 #4E62C7 #7C8BD6 #ABB4E4
Accessibility & contrast
On white
5.39
#4E62C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#4E62C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E62C7
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E62C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E62C7 | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A70CB
Deuteranopia (green-blind)
#0A65C5
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4e62c7; /* rgb */ color: rgb(78, 98, 199); /* oklch */ color: oklch(53.4% 0.158 271.6);
Tailwind
colors: {
custom: {
50: '#8a8ed9',
500: '#4e62c7',
950: '#000000',
},
}SCSS
$custom: #4e62c7; $custom-light: #8a8ed9; $custom-dark: #000000;
JSON
{
"hex": "#4e62c7",
"rgb": {
"r": 78,
"g": 98,
"b": 199
},
"hsl": {
"h": 230.083,
"s": 51.931,
"l": 54.314
},
"oklch": {
"l": 0.53398,
"c": 0.15786,
"h": 271.6
},
"luminance": 0.14479
}Semantic roles & 50–950 ramp
primary
#4E62C7
secondary
#D2CA9F
accent
#C44CDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C15
muted
#7E7D83