#4E64D9#4E64D9
#4E64D9 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.1% C 0.180 H 271.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #4E64D9 |
|---|---|
| RGB | rgb(78, 100, 217) |
| HSL | hsl(231, 65%, 58%) |
| HSV | hsv(231, 64%, 85%) |
| CMYK | cmyk(64.1%, 53.9%, 0%, 14.9%) |
| CIE-LAB | lab(46.63, 28.50, -62.63) |
| CIE-LCH | lch(46.63, 68.81, 294.47°) |
| OKLab | oklab(55.08% 0.0039 -0.1799) |
| OKLCH | oklch(55.08% 0.18 271.3) |
| XYZ | xyz(20.2192, 15.7420, 67.6052) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.73
Cornflower Blue
#5170D7
ΔE00 4.18
Warm Blue
#4B57DB
ΔE00 4.20
Azul
#1D5DEC
ΔE00 4.21
Dark Periwinkle
#665FD1
ΔE00 4.69
Bright Blue
#0165FC
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E64D9 #D9C34E
analogous
#4EA9D9 #4E64D9 #7E4ED9
triadic
#4E64D9 #D94E64 #64D94E
tetradic
#4E64D9 #D94EA9 #D9C34E #4ED97E
square
#4E64D9 #D94EA9 #D9C34E #4ED97E
split-complementary
#4E64D9 #D97E4E #A9D94E
monochromatic
#1F308E #2941C0 #4E64D9 #8090E4 #B3BCEF
Accessibility & contrast
On white
5.06
#4E64D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#4E64D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E64D9
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E64D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E64D9 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C75DD
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #4e64d9; /* rgb */ color: rgb(78, 100, 217); /* oklch */ color: oklch(55.1% 0.180 271.3);
Tailwind
colors: {
custom: {
50: '#8d8fe5',
500: '#4e64d9',
950: '#000000',
},
}SCSS
$custom: #4e64d9; $custom-light: #8d8fe5; $custom-dark: #000000;
JSON
{
"hex": "#4e64d9",
"rgb": {
"r": 78,
"g": 100,
"b": 217
},
"hsl": {
"h": 230.504,
"s": 64.651,
"l": 57.843
},
"oklch": {
"l": 0.55083,
"c": 0.17996,
"h": 271.3
},
"luminance": 0.15744
}Semantic roles & 50–950 ramp
primary
#4E64D9
secondary
#DDD4A6
accent
#CD40E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84