#4C64D7#4C64D7
#4C64D7 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.8% C 0.178 H 270.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #4C64D7 |
|---|---|
| RGB | rgb(76, 100, 215) |
| HSL | hsl(230, 63%, 57%) |
| HSV | hsv(230, 65%, 84%) |
| CMYK | cmyk(64.7%, 53.5%, 0%, 15.7%) |
| CIE-LAB | lab(46.39, 27.49, -61.90) |
| CIE-LCH | lch(46.39, 67.73, 293.95°) |
| OKLab | oklab(54.82% 0.0018 -0.1778) |
| OKLCH | oklch(54.82% 0.178 270.6) |
| XYZ | xyz(19.7993, 15.5554, 66.2359) |
| Luminance | 0.1556 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.61
Azul
#1D5DEC
ΔE00 4.10
Cornflower Blue
#5170D7
ΔE00 4.13
Warm Blue
#4B57DB
ΔE00 4.30
Dark Periwinkle
#665FD1
ΔE00 4.98
Bright Blue
#0165FC
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C64D7 #D7BF4C
analogous
#4CAAD7 #4C64D7 #7A4CD7
triadic
#4C64D7 #D74C64 #64D74C
tetradic
#4C64D7 #D74CAA #D7BF4C #4CD77A
square
#4C64D7 #D74CAA #D7BF4C #4CD77A
split-complementary
#4C64D7 #D77A4C #AAD74C
monochromatic
#1F318A #2A43BC #4C64D7 #7E8FE2 #B0BBED
Accessibility & contrast
On white
5.11
#4C64D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#4C64D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C64D7
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C64D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C64D7 | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1274DB
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #4c64d7; /* rgb */ color: rgb(76, 100, 215); /* oklch */ color: oklch(54.8% 0.178 270.6);
Tailwind
colors: {
custom: {
50: '#8c8fe4',
500: '#4c64d7',
950: '#000000',
},
}SCSS
$custom: #4c64d7; $custom-light: #8c8fe4; $custom-dark: #000000;
JSON
{
"hex": "#4c64d7",
"rgb": {
"r": 76,
"g": 100,
"b": 215
},
"hsl": {
"h": 229.64,
"s": 63.47,
"l": 57.059
},
"oklch": {
"l": 0.54823,
"c": 0.17782,
"h": 270.6
},
"luminance": 0.15557
}Semantic roles & 50–950 ramp
primary
#4C64D7
secondary
#DCD2A3
accent
#CA41E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84