#4F7EF2#4F7EF2
#4F7EF2 is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.0% C 0.182 H 265.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4F7EF2 |
|---|---|
| RGB | rgb(79, 126, 242) |
| HSL | hsl(223, 86%, 63%) |
| HSV | hsv(223, 67%, 95%) |
| CMYK | cmyk(67.4%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(55.06, 21.18, -63.08) |
| CIE-LCH | lch(55.06, 66.54, 288.56°) |
| OKLab | oklab(62% -0.0159 -0.1808) |
| OKLCH | oklch(62% 0.182 265) |
| XYZ | xyz(26.7067, 22.9921, 87.0176) |
| Luminance | 0.2299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 1.87
Dodger Blue
#3E82FC
ΔE00 2.51
Clear Blue
#247AFD
ΔE00 3.14
Soft Blue
#6488EA
ΔE00 3.62
Azure
#007FFF
ΔE00 4.47
Deep Sky Blue
#0D75F8
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F7EF2 #F2C34F
analogous
#4FD0F2 #4F7EF2 #714FF2
triadic
#4F7EF2 #F24F7E #7EF24F
tetradic
#4F7EF2 #F24FD0 #F2C34F #4FF271
square
#4F7EF2 #F24FD0 #F2C34F #4FF271
split-complementary
#4F7EF2 #F2714F #D0F24F
monochromatic
#0E3FB9 #1654EE #4F7EF2 #88A8F6 #C1D2FA
Accessibility & contrast
On white
3.75
#4F7EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#4F7EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F7EF2
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F7EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F7EF2 | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F8CF6
Deuteranopia (green-blind)
#127DF0
Tritanopia (blue-blind)
#0099AC
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #4f7ef2; /* rgb */ color: rgb(79, 126, 242); /* oklch */ color: oklch(62.0% 0.182 265.0);
Tailwind
colors: {
custom: {
50: '#91a2f7',
500: '#4f7ef2',
950: '#000000',
},
}SCSS
$custom: #4f7ef2; $custom-light: #91a2f7; $custom-dark: #000000;
JSON
{
"hex": "#4f7ef2",
"rgb": {
"r": 79,
"g": 126,
"b": 242
},
"hsl": {
"h": 222.699,
"s": 86.243,
"l": 62.941
},
"oklch": {
"l": 0.62003,
"c": 0.18154,
"h": 265
},
"luminance": 0.22995
}Semantic roles & 50–950 ramp
primary
#4F7EF2
secondary
#ECDBB1
accent
#A203E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0F17
muted
#7E7E85