#4F7BF2#4F7BF2
#4F7BF2 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.4% C 0.185 H 265.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7BF2 |
|---|---|
| RGB | rgb(79, 123, 242) |
| HSL | hsl(224, 86%, 63%) |
| HSV | hsv(224, 67%, 95%) |
| CMYK | cmyk(67.4%, 49.2%, 0%, 5.1%) |
| CIE-LAB | lab(54.28, 23.02, -64.34) |
| CIE-LCH | lch(54.28, 68.34, 289.69°) |
| OKLab | oklab(61.4% -0.0133 -0.1846) |
| OKLCH | oklch(61.4% 0.185 265.9) |
| XYZ | xyz(26.3288, 22.2364, 86.8917) |
| Luminance | 0.2224 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 1.70
Clear Blue
#247AFD
ΔE00 3.26
Dodger Blue
#3E82FC
ΔE00 3.40
Deep Sky Blue
#0D75F8
ΔE00 4.31
Soft Blue
#6488EA
ΔE00 4.38
Cornflower
#6A79F7
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7BF2 #F2C64F
analogous
#4FCCF2 #4F7BF2 #754FF2
triadic
#4F7BF2 #F24F7B #7BF24F
tetradic
#4F7BF2 #F24FCC #F2C64F #4FF275
square
#4F7BF2 #F24FCC #F2C64F #4FF275
split-complementary
#4F7BF2 #F2754F #CCF24F
monochromatic
#0E3CB9 #1650EE #4F7BF2 #88A6F6 #C1D0FA
Accessibility & contrast
On white
3.85
#4F7BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.45
#4F7BF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F7BF2
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F7BF2 | 1.00 | 3.85 | 5.45 | 5.45 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#378AF6
Deuteranopia (green-blind)
#007BF0
Tritanopia (blue-blind)
#0097AB
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #4f7bf2; /* rgb */ color: rgb(79, 123, 242); /* oklch */ color: oklch(61.4% 0.185 265.9);
Tailwind
colors: {
custom: {
50: '#91a0f7',
500: '#4f7bf2',
950: '#000000',
},
}SCSS
$custom: #4f7bf2; $custom-light: #91a0f7; $custom-dark: #000000;
JSON
{
"hex": "#4f7bf2",
"rgb": {
"r": 79,
"g": 123,
"b": 242
},
"hsl": {
"h": 223.804,
"s": 86.243,
"l": 62.941
},
"oklch": {
"l": 0.61403,
"c": 0.1851,
"h": 265.9
},
"luminance": 0.22239
}Semantic roles & 50–950 ramp
primary
#4F7BF2
secondary
#ECDCB1
accent
#A603E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85