#4F7AF5#4F7AF5
#4F7AF5 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.4% C 0.190 H 266.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7AF5 |
|---|---|
| RGB | rgb(79, 122, 245) |
| HSL | hsl(224, 89%, 64%) |
| HSV | hsv(224, 68%, 96%) |
| CMYK | cmyk(67.8%, 50.2%, 0%, 3.9%) |
| CIE-LAB | lab(54.21, 24.68, -66.12) |
| CIE-LCH | lch(54.21, 70.57, 290.46°) |
| OKLab | oklab(61.41% -0.0121 -0.1899) |
| OKLCH | oklch(61.41% 0.19 266.4) |
| XYZ | xyz(26.6597, 22.1713, 89.2430) |
| Luminance | 0.2217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 1.73
Clear Blue
#247AFD
ΔE00 3.44
Dodger Blue
#3E82FC
ΔE00 3.71
Cornflower
#6A79F7
ΔE00 4.15
Deep Sky Blue
#0D75F8
ΔE00 4.42
Soft Blue
#6488EA
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7AF5 #F5CA4F
analogous
#4FCDF5 #4F7AF5 #774FF5
triadic
#4F7AF5 #F54F7A #7AF54F
tetradic
#4F7AF5 #F54FCD #F5CA4F #4FF577
square
#4F7AF5 #F54FCD #F5CA4F #4FF577
split-complementary
#4F7AF5 #F5774F #CDF54F
monochromatic
#0B39BF #154EF2 #4F7AF5 #89A6F8 #C3D2FC
Accessibility & contrast
On white
3.86
#4F7AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#4F7AF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F7AF5
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7AF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F7AF5 | 1.00 | 3.86 | 5.43 | 5.43 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#308AF9
Deuteranopia (green-blind)
#007AF3
Tritanopia (blue-blind)
#0097AC
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #4f7af5; /* rgb */ color: rgb(79, 122, 245); /* oklch */ color: oklch(61.4% 0.190 266.4);
Tailwind
colors: {
custom: {
50: '#929ff9',
500: '#4f7af5',
950: '#000000',
},
}SCSS
$custom: #4f7af5; $custom-light: #929ff9; $custom-dark: #000000;
JSON
{
"hex": "#4f7af5",
"rgb": {
"r": 79,
"g": 122,
"b": 245
},
"hsl": {
"h": 224.458,
"s": 89.247,
"l": 63.529
},
"oklch": {
"l": 0.61412,
"c": 0.19025,
"h": 266.4
},
"luminance": 0.22174
}Semantic roles & 50–950 ramp
primary
#4F7AF5
secondary
#EDDEB2
accent
#AA00E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85