Skip to content

#4f9cfb

a balanced, electric blue · cool · closest name: dodgerblue

RGB
79, 156, 251
HSL
213°, 96%, 65%
CMYK
69, 38, 0, 2
Luminance
0.3240

Every format

HEX#4f9cfb
RGBrgb(79, 156, 251)
HSLhsl(213, 96%, 65%)
CMYKcmyk(69%, 38%, 0%, 2%)
LABlab(63.7 6.3 -54.3)
LCHlch(63.7 54.6 276.6)
OKLCHoklch(0.688 0.160 255.0)

Copy-ready code

/* CSS */
color: #4f9cfb;
background-color: #4f9cfb;
/* Tailwind (arbitrary) */
class="text-[#4f9cfb] bg-[#4f9cfb]"
/* SCSS */
$brand: #4f9cfb;
/* SwiftUI */
Color(red: 0.310, green: 0.612, blue: 0.984)
/* Android */
Color.parseColor("#4f9cfb")

Accessibility — WCAG contrast

Aa
#4f9cfb on white: 2.81:1
AA ✗ fail · AA-large · AAA
Aa
#4f9cfb on black: 7.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green61.2%
Blue98.4%

CMYK percentages

Cyan68.5%
Magenta37.8%
Yellow0.0%
Key (black)1.6%

Color previews

#4f9cfb text on a black background

contrast 7.48:1

Card sample

#4f9cfb text on a white background

contrast 2.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4f9cfb;
Background color
Panel with #4f9cfb background
background-color: #4f9cfb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4f9cfb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(79, 156, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 156, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f9cfb;
background: linear-gradient(135deg, #4f9cfb, #754FFB);

Monochromatic scale

Palettes built from #4f9cfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4f9cfb in the Color Lab