#4E64D1#4E64D1
#4E64D1 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.5% C 0.169 H 271.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #4E64D1 |
|---|---|
| RGB | rgb(78, 100, 209) |
| HSL | hsl(230, 59%, 56%) |
| HSV | hsv(230, 63%, 82%) |
| CMYK | cmyk(62.7%, 52.2%, 0%, 18%) |
| CIE-LAB | lab(46.09, 25.76, -58.95) |
| CIE-LCH | lch(46.09, 64.33, 293.61°) |
| OKLab | oklab(54.5% 0.0034 -0.1691) |
| OKLCH | oklch(54.5% 0.169 271.2) |
| XYZ | xyz(19.2038, 15.3358, 62.2573) |
| Luminance | 0.1534 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.12
Cornflower Blue
#5170D7
ΔE00 4.26
Warm Blue
#4B57DB
ΔE00 4.43
Azul
#1D5DEC
ΔE00 4.62
Dark Periwinkle
#665FD1
ΔE00 4.82
Bright Blue
#0165FC
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E64D1 #D1BB4E
analogous
#4EA6D1 #4E64D1 #7A4ED1
triadic
#4E64D1 #D14E64 #64D14E
tetradic
#4E64D1 #D14EA6 #D1BB4E #4ED17A
square
#4E64D1 #D14EA6 #D1BB4E #4ED17A
split-complementary
#4E64D1 #D17A4E #A6D14E
monochromatic
#223283 #2F45B3 #4E64D1 #7F8FDE #AFB9EA
Accessibility & contrast
On white
5.16
#4E64D1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#4E64D1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E64D1
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E64D1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E64D1 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2173D5
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#007D91
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4e64d1; /* rgb */ color: rgb(78, 100, 209); /* oklch */ color: oklch(54.5% 0.169 271.2);
Tailwind
colors: {
custom: {
50: '#8c8fe0',
500: '#4e64d1',
950: '#000000',
},
}SCSS
$custom: #4e64d1; $custom-light: #8c8fe0; $custom-dark: #000000;
JSON
{
"hex": "#4e64d1",
"rgb": {
"r": 78,
"g": 100,
"b": 209
},
"hsl": {
"h": 229.924,
"s": 58.744,
"l": 56.275
},
"oklch": {
"l": 0.54501,
"c": 0.1691,
"h": 271.2
},
"luminance": 0.15337
}Semantic roles & 50–950 ramp
primary
#4E64D1
secondary
#D8CFA2
accent
#C846E2
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83