Skip to content

#4f72cd

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

RGB
79, 114, 205
HSL
223°, 56%, 56%
CMYK
62, 44, 0, 20
Luminance
0.1810

Every format

HEX#4f72cd
RGBrgb(79, 114, 205)
HSLhsl(223, 56%, 56%)
CMYKcmyk(62%, 44%, 0%, 20%)
LABlab(49.6 15.8 -51.0)
LCHlch(49.6 53.4 287.2)
OKLCHoklch(0.571 0.146 266.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4f72cd on white: 4.54:1
AA ✓ pass · AA-large · AAA
Aa
#4f72cd on black: 4.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green44.7%
Blue80.4%

CMYK percentages

Cyan61.5%
Magenta44.4%
Yellow0.0%
Key (black)19.6%

Color previews

#4f72cd text on a black background

contrast 4.62:1

Card sample

#4f72cd text on a white background

contrast 4.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 114, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 114, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f72cd;
background: linear-gradient(135deg, #4f72cd, #804FCD);

Monochromatic scale

Palettes built from #4f72cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4f72cd in the Color Lab