Skip to content

#4f7ace

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

RGB
79, 122, 206
HSL
220°, 56%, 56%
CMYK
62, 41, 0, 19
Luminance
0.2004

Every format

HEX#4f7ace
RGBrgb(79, 122, 206)
HSLhsl(220, 56%, 56%)
CMYKcmyk(62%, 41%, 0%, 19%)
LABlab(51.9 11.2 -48.0)
LCHlch(51.9 49.3 283.2)
OKLCHoklch(0.589 0.138 262.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4f7ace on white: 4.19:1
AA ✗ fail · AA-large · AAA
Aa
#4f7ace on black: 5.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green47.8%
Blue80.8%

CMYK percentages

Cyan61.7%
Magenta40.8%
Yellow0.0%
Key (black)19.2%

Color previews

#4f7ace text on a black background

contrast 5.01:1

Card sample

#4f7ace text on a white background

contrast 4.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 122, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 122, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f7ace;
background: linear-gradient(135deg, #4f7ace, #794FCE);

Monochromatic scale

Palettes built from #4f7ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4f7ace in the Color Lab