Skip to content

#4f75cf

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

RGB
79, 117, 207
HSL
222°, 57%, 56%
CMYK
62, 44, 0, 19
Luminance
0.1889

Every format

HEX#4f75cf
RGBrgb(79, 117, 207)
HSLhsl(222, 57%, 56%)
CMYKcmyk(62%, 44%, 0%, 19%)
LABlab(50.6 14.6 -50.6)
LCHlch(50.6 52.7 286.1)
OKLCHoklch(0.579 0.145 265.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4f75cf on white: 4.40:1
AA ✗ fail · AA-large · AAA
Aa
#4f75cf on black: 4.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.0%
Green45.9%
Blue81.2%

CMYK percentages

Cyan61.8%
Magenta43.5%
Yellow0.0%
Key (black)18.8%

Color previews

#4f75cf text on a black background

contrast 4.78:1

Card sample

#4f75cf text on a white background

contrast 4.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4f75cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4f75cf in the Color Lab