#4D64D8#4D64D8
#4D64D8 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.0% C 0.179 H 270.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #4D64D8 |
|---|---|
| RGB | rgb(77, 100, 216) |
| HSL | hsl(230, 64%, 57%) |
| HSV | hsv(230, 64%, 85%) |
| CMYK | cmyk(64.4%, 53.7%, 0%, 15.3%) |
| CIE-LAB | lab(46.51, 28.00, -62.27) |
| CIE-LCH | lch(46.51, 68.27, 294.21°) |
| OKLab | oklab(54.95% 0.0029 -0.1789) |
| OKLCH | oklch(54.95% 0.179 270.9) |
| XYZ | xyz(20.0082, 15.6482, 66.9184) |
| Luminance | 0.1565 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.66
Azul
#1D5DEC
ΔE00 4.15
Cornflower Blue
#5170D7
ΔE00 4.15
Warm Blue
#4B57DB
ΔE00 4.24
Dark Periwinkle
#665FD1
ΔE00 4.83
Bright Blue
#0165FC
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D64D8 #D8C14D
analogous
#4DA9D8 #4D64D8 #7C4DD8
triadic
#4D64D8 #D84D64 #64D84D
tetradic
#4D64D8 #D84DA9 #D8C14D #4DD87C
square
#4D64D8 #D84DA9 #D8C14D #4DD87C
split-complementary
#4D64D8 #D87C4D #A9D84D
monochromatic
#1F318C #2A42BE #4D64D8 #7F90E3 #B1BBEE
Accessibility & contrast
On white
5.08
#4D64D8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#4D64D8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D64D8
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D64D8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D64D8 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F75DC
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#008094
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #4d64d8; /* rgb */ color: rgb(77, 100, 216); /* oklch */ color: oklch(55.0% 0.179 270.9);
Tailwind
colors: {
custom: {
50: '#8d8fe5',
500: '#4d64d8',
950: '#000000',
},
}SCSS
$custom: #4d64d8; $custom-light: #8d8fe5; $custom-dark: #000000;
JSON
{
"hex": "#4d64d8",
"rgb": {
"r": 77,
"g": 100,
"b": 216
},
"hsl": {
"h": 230.072,
"s": 64.055,
"l": 57.451
},
"oklch": {
"l": 0.54952,
"c": 0.17889,
"h": 270.9
},
"luminance": 0.1565
}Semantic roles & 50–950 ramp
primary
#4D64D8
secondary
#DCD3A4
accent
#CC41E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84