#4F64D7#4F64D7
#4F64D7 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.0% C 0.177 H 271.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #4F64D7 |
|---|---|
| RGB | rgb(79, 100, 215) |
| HSL | hsl(231, 63%, 58%) |
| HSV | hsv(231, 63%, 84%) |
| CMYK | cmyk(63.3%, 53.5%, 0%, 15.7%) |
| CIE-LAB | lab(46.55, 27.98, -61.62) |
| CIE-LCH | lch(46.55, 67.68, 294.42°) |
| OKLab | oklab(54.99% 0.0048 -0.1769) |
| OKLCH | oklch(54.99% 0.177 271.6) |
| XYZ | xyz(20.0433, 15.6812, 66.2473) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.89
Warm Blue
#4B57DB
ΔE00 4.20
Cornflower Blue
#5170D7
ΔE00 4.21
Azul
#1D5DEC
ΔE00 4.39
Dark Periwinkle
#665FD1
ΔE00 4.56
Bright Blue
#0165FC
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F64D7 #D7C24F
analogous
#4FA8D7 #4F64D7 #7E4FD7
triadic
#4F64D7 #D74F64 #64D74F
tetradic
#4F64D7 #D74FA8 #D7C24F #4FD77E
square
#4F64D7 #D74FA8 #D7C24F #4FD77E
split-complementary
#4F64D7 #D77E4F #A8D74F
monochromatic
#20308C #2B42BE #4F64D7 #8190E2 #B3BCEE
Accessibility & contrast
On white
5.08
#4F64D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#4F64D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F64D7
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F64D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F64D7 | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1475DB
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #4f64d7; /* rgb */ color: rgb(79, 100, 215); /* oklch */ color: oklch(55.0% 0.177 271.6);
Tailwind
colors: {
custom: {
50: '#8e8fe4',
500: '#4f64d7',
950: '#000000',
},
}SCSS
$custom: #4f64d7; $custom-light: #8e8fe4; $custom-dark: #000000;
JSON
{
"hex": "#4f64d7",
"rgb": {
"r": 79,
"g": 100,
"b": 215
},
"hsl": {
"h": 230.735,
"s": 62.963,
"l": 57.647
},
"oklch": {
"l": 0.54994,
"c": 0.17699,
"h": 271.6
},
"luminance": 0.15683
}Semantic roles & 50–950 ramp
primary
#4F64D7
secondary
#DCD4A6
accent
#CD42E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84