Skip to content

#4f7cd7

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

RGB
79, 124, 215
HSL
220°, 63%, 58%
CMYK
63, 42, 0, 16
Luminance
0.2098

Every format

HEX#4f7cd7
RGBrgb(79, 124, 215)
HSLhsl(220, 63%, 58%)
CMYKcmyk(63%, 42%, 0%, 16%)
LABlab(52.9 13.1 -51.4)
LCHlch(52.9 53.0 284.3)
OKLCHoklch(0.599 0.148 262.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4f7cd7 on white: 4.04:1
AA ✗ fail · AA-large · AAA
Aa
#4f7cd7 on black: 5.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green48.6%
Blue84.3%

CMYK percentages

Cyan63.3%
Magenta42.3%
Yellow0.0%
Key (black)15.7%

Color previews

#4f7cd7 text on a black background

contrast 5.20:1

Card sample

#4f7cd7 text on a white background

contrast 4.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 124, 215, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 124, 215, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f7cd7;
background: linear-gradient(135deg, #4f7cd7, #7C4FD7);

Monochromatic scale

Palettes built from #4f7cd7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4f7cd7 in the Color Lab