#4F7AF2#4F7AF2
#4F7AF2 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.2% C 0.186 H 266.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7AF2 |
|---|---|
| RGB | rgb(79, 122, 242) |
| HSL | hsl(224, 86%, 63%) |
| HSV | hsv(224, 67%, 95%) |
| CMYK | cmyk(67.4%, 49.6%, 0%, 5.1%) |
| CIE-LAB | lab(54.02, 23.63, -64.76) |
| CIE-LCH | lch(54.02, 68.94, 290.05°) |
| OKLab | oklab(61.2% -0.0124 -0.1859) |
| OKLCH | oklch(61.2% 0.186 266.2) |
| XYZ | xyz(26.2054, 21.9896, 86.8506) |
| Luminance | 0.2199 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 1.78
Clear Blue
#247AFD
ΔE00 3.38
Dodger Blue
#3E82FC
ΔE00 3.71
Deep Sky Blue
#0D75F8
ΔE00 4.29
Cornflower
#6A79F7
ΔE00 4.33
Soft Blue
#6488EA
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7AF2 #F2C74F
analogous
#4FCBF2 #4F7AF2 #764FF2
triadic
#4F7AF2 #F24F7A #7AF24F
tetradic
#4F7AF2 #F24FCB #F2C74F #4FF276
square
#4F7AF2 #F24FCB #F2C74F #4FF276
split-complementary
#4F7AF2 #F2764F #CBF24F
monochromatic
#0E3BB9 #164FEE #4F7AF2 #88A5F6 #C1D0FA
Accessibility & contrast
On white
3.89
#4F7AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#4F7AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F7AF2
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F7AF2 | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3489F6
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #4f7af2; /* rgb */ color: rgb(79, 122, 242); /* oklch */ color: oklch(61.2% 0.186 266.2);
Tailwind
colors: {
custom: {
50: '#919ff7',
500: '#4f7af2',
950: '#000000',
},
}SCSS
$custom: #4f7af2; $custom-light: #919ff7; $custom-dark: #000000;
JSON
{
"hex": "#4f7af2",
"rgb": {
"r": 79,
"g": 122,
"b": 242
},
"hsl": {
"h": 224.172,
"s": 86.243,
"l": 62.941
},
"oklch": {
"l": 0.61204,
"c": 0.18629,
"h": 266.2
},
"luminance": 0.21992
}Semantic roles & 50–950 ramp
primary
#4F7AF2
secondary
#ECDCB1
accent
#A803E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85