Skip to content

#4fafff

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

RGB
79, 175, 255
HSL
207°, 100%, 66%
CMYK
69, 31, 0, 0
Luminance
0.3954

Every format

HEX#4fafff
RGBrgb(79, 175, 255)
HSLhsl(207, 100%, 66%)
CMYKcmyk(69%, 31%, 0%, 0%)
LABlab(69.1 -3.2 -47.8)
LCHlch(69.1 47.9 266.1)
OKLCHoklch(0.732 0.147 246.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4fafff on white: 2.36:1
AA ✗ fail · AA-large · AAA
Aa
#4fafff on black: 8.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green68.6%
Blue100.0%

CMYK percentages

Cyan69.0%
Magenta31.4%
Yellow0.0%
Key (black)0.0%

Color previews

#4fafff text on a black background

contrast 8.91:1

Card sample

#4fafff text on a white background

contrast 2.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 175, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 175, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4fafff;
background: linear-gradient(135deg, #4fafff, #644FFF);

Monochromatic scale

Palettes built from #4fafff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4fafff in the Color Lab