#4F8AF2#4F8AF2
#4F8AF2 is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.5% C 0.168 H 260.8°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #4F8AF2 |
|---|---|
| RGB | rgb(79, 138, 242) |
| HSL | hsl(218, 86%, 63%) |
| HSV | hsv(218, 67%, 95%) |
| CMYK | cmyk(67.4%, 43%, 0%, 5.1%) |
| CIE-LAB | lab(58.27, 13.88, -57.93) |
| CIE-LCH | lch(58.27, 59.57, 283.47°) |
| OKLab | oklab(64.46% -0.0267 -0.1655) |
| OKLCH | oklch(64.46% 0.168 260.8) |
| XYZ | xyz(28.3342, 26.2472, 87.5602) |
| Luminance | 0.2625 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.65
Soft Blue
#6488EA
ΔE00 3.35
Dark Sky Blue
#448EE4
ΔE00 3.49
Cornflowerblue
#6495ED
ΔE00 3.57
Azure
#007FFF
ΔE00 4.40
Dodgerblue
#1E90FF
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F8AF2 #F2B74F
analogous
#4FDCF2 #4F8AF2 #654FF2
triadic
#4F8AF2 #F24F8A #8AF24F
tetradic
#4F8AF2 #F24FDC #F2B74F #4FF265
square
#4F8AF2 #F24FDC #F2B74F #4FF265
split-complementary
#4F8AF2 #F2654F #DCF24F
monochromatic
#0E4CB9 #1664EE #4F8AF2 #88B0F6 #C1D6FA
Accessibility & contrast
On white
3.36
#4F8AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#4F8AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F8AF2
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F8AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F8AF2 | 1.00 | 3.36 | 6.25 | 6.25 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#3C85F0
Tritanopia (blue-blind)
#00A2B2
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #4f8af2; /* rgb */ color: rgb(79, 138, 242); /* oklch */ color: oklch(64.5% 0.168 260.8);
Tailwind
colors: {
custom: {
50: '#91abf7',
500: '#4f8af2',
950: '#000000',
},
}SCSS
$custom: #4f8af2; $custom-light: #91abf7; $custom-dark: #000000;
JSON
{
"hex": "#4f8af2",
"rgb": {
"r": 79,
"g": 138,
"b": 242
},
"hsl": {
"h": 218.282,
"s": 86.243,
"l": 62.941
},
"oklch": {
"l": 0.64464,
"c": 0.16768,
"h": 260.8
},
"luminance": 0.2625
}Semantic roles & 50–950 ramp
primary
#4F8AF2
secondary
#ECD6B1
accent
#9203E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85