#4E62CF#4E62CF
#4E62CF is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.0% C 0.169 H 271.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #4E62CF |
|---|---|
| RGB | rgb(78, 98, 207) |
| HSL | hsl(231, 57%, 56%) |
| HSV | hsv(231, 62%, 81%) |
| CMYK | cmyk(62.3%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(45.44, 26.33, -58.85) |
| CIE-LCH | lch(45.44, 64.48, 294.11°) |
| OKLab | oklab(53.97% 0.0052 -0.1688) |
| OKLCH | oklch(53.97% 0.169 271.8) |
| XYZ | xyz(18.7683, 14.8585, 60.8983) |
| Luminance | 0.1486 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.76
Warm Blue
#4B57DB
ΔE00 3.89
Dark Periwinkle
#665FD1
ΔE00 4.52
Azul
#1D5DEC
ΔE00 4.64
Cornflower Blue
#5170D7
ΔE00 4.99
Iris
#6258C4
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E62CF #CFBB4E
analogous
#4EA2CF #4E62CF #7A4ECF
triadic
#4E62CF #CF4E62 #62CF4E
tetradic
#4E62CF #CF4EA2 #CFBB4E #4ECF7A
square
#4E62CF #CF4EA2 #CFBB4E #4ECF7A
split-complementary
#4E62CF #CF7A4E #A2CF4E
monochromatic
#233180 #3044B0 #4E62CF #7E8DDC #AEB7E9
Accessibility & contrast
On white
5.29
#4E62CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#4E62CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E62CF
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E62CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E62CF | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D71D3
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4e62cf; /* rgb */ color: rgb(78, 98, 207); /* oklch */ color: oklch(54.0% 0.169 271.8);
Tailwind
colors: {
custom: {
50: '#8c8ede',
500: '#4e62cf',
950: '#000000',
},
}SCSS
$custom: #4e62cf; $custom-light: #8c8ede; $custom-dark: #000000;
JSON
{
"hex": "#4e62cf",
"rgb": {
"r": 78,
"g": 98,
"b": 207
},
"hsl": {
"h": 230.698,
"s": 57.333,
"l": 55.882
},
"oklch": {
"l": 0.53968,
"c": 0.1689,
"h": 271.8
},
"luminance": 0.1486
}Semantic roles & 50–950 ramp
primary
#4E62CF
secondary
#D7CFA2
accent
#C947E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83