#4F64D8#4F64D8
#4F64D8 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.1% C 0.178 H 271.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #4F64D8 |
|---|---|
| RGB | rgb(79, 100, 216) |
| HSL | hsl(231, 64%, 58%) |
| HSV | hsv(231, 63%, 85%) |
| CMYK | cmyk(63.4%, 53.7%, 0%, 15.3%) |
| CIE-LAB | lab(46.62, 28.32, -62.08) |
| CIE-LCH | lch(46.62, 68.24, 294.52°) |
| OKLab | oklab(55.07% 0.0049 -0.1783) |
| OKLCH | oklch(55.07% 0.178 271.6) |
| XYZ | xyz(20.1721, 15.7327, 66.9261) |
| Luminance | 0.1573 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.86
Warm Blue
#4B57DB
ΔE00 4.18
Cornflower Blue
#5170D7
ΔE00 4.21
Azul
#1D5DEC
ΔE00 4.35
Dark Periwinkle
#665FD1
ΔE00 4.56
Bright Blue
#0165FC
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F64D8 #D8C34F
analogous
#4FA8D8 #4F64D8 #7E4FD8
triadic
#4F64D8 #D84F64 #64D84F
tetradic
#4F64D8 #D84FA8 #D8C34F #4FD87E
square
#4F64D8 #D84FA8 #D8C34F #4FD87E
split-complementary
#4F64D8 #D87E4F #A8D84F
monochromatic
#1F308D #2A41BF #4F64D8 #8190E3 #B3BCEE
Accessibility & contrast
On white
5.06
#4F64D8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#4F64D8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F64D8
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F64D8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F64D8 | 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)
#1075DC
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #4f64d8; /* rgb */ color: rgb(79, 100, 216); /* oklch */ color: oklch(55.1% 0.178 271.6);
Tailwind
colors: {
custom: {
50: '#8e8fe5',
500: '#4f64d8',
950: '#000000',
},
}SCSS
$custom: #4f64d8; $custom-light: #8e8fe5; $custom-dark: #000000;
JSON
{
"hex": "#4f64d8",
"rgb": {
"r": 79,
"g": 100,
"b": 216
},
"hsl": {
"h": 230.803,
"s": 63.721,
"l": 57.843
},
"oklch": {
"l": 0.55067,
"c": 0.17834,
"h": 271.6
},
"luminance": 0.15734
}Semantic roles & 50–950 ramp
primary
#4F64D8
secondary
#DDD4A6
accent
#CD41E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84