#4E64D4#4E64D4
#4E64D4 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.7% C 0.173 H 271.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4E64D4 |
|---|---|
| RGB | rgb(78, 100, 212) |
| HSL | hsl(230, 61%, 57%) |
| HSV | hsv(230, 63%, 83%) |
| CMYK | cmyk(63.2%, 52.8%, 0%, 16.9%) |
| CIE-LAB | lab(46.29, 26.79, -60.34) |
| CIE-LCH | lch(46.29, 66.02, 293.94°) |
| OKLab | oklab(54.72% 0.0036 -0.1732) |
| OKLCH | oklch(54.72% 0.173 271.2) |
| XYZ | xyz(19.5787, 15.4858, 64.2319) |
| Luminance | 0.1549 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.93
Cornflower Blue
#5170D7
ΔE00 4.20
Warm Blue
#4B57DB
ΔE00 4.31
Azul
#1D5DEC
ΔE00 4.44
Dark Periwinkle
#665FD1
ΔE00 4.74
Bright Blue
#0165FC
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E64D4 #D4BE4E
analogous
#4EA7D4 #4E64D4 #7B4ED4
triadic
#4E64D4 #D44E64 #64D44E
tetradic
#4E64D4 #D44EA7 #D4BE4E #4ED47B
square
#4E64D4 #D44EA7 #D4BE4E #4ED47B
split-complementary
#4E64D4 #D47B4E #A7D44E
monochromatic
#213287 #2D44B8 #4E64D4 #7F8FE0 #B0BAEC
Accessibility & contrast
On white
5.12
#4E64D4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#4E64D4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E64D4
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E64D4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E64D4 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B74D8
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#007E92
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #4e64d4; /* rgb */ color: rgb(78, 100, 212); /* oklch */ color: oklch(54.7% 0.173 271.2);
Tailwind
colors: {
custom: {
50: '#8d8fe2',
500: '#4e64d4',
950: '#000000',
},
}SCSS
$custom: #4e64d4; $custom-light: #8d8fe2; $custom-dark: #000000;
JSON
{
"hex": "#4e64d4",
"rgb": {
"r": 78,
"g": 100,
"b": 212
},
"hsl": {
"h": 230.149,
"s": 60.909,
"l": 56.863
},
"oklch": {
"l": 0.54717,
"c": 0.1732,
"h": 271.2
},
"luminance": 0.15488
}Semantic roles & 50–950 ramp
primary
#4E64D4
secondary
#DAD1A4
accent
#CA44E4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83