Skip to content

#4a7bdf

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

RGB
74, 123, 223
HSL
220°, 70%, 58%
CMYK
67, 45, 0, 13
Luminance
0.2095

Every format

HEX#4a7bdf
RGBrgb(74, 123, 223)
HSLhsl(220, 70%, 58%)
CMYKcmyk(67%, 45%, 0%, 13%)
LABlab(52.9 15.6 -56.0)
LCHlch(52.9 58.1 285.6)
OKLCHoklch(0.599 0.161 262.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4a7bdf on white: 4.05:1
AA ✗ fail · AA-large · AAA
Aa
#4a7bdf on black: 5.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red29.0%
Green48.2%
Blue87.5%

CMYK percentages

Cyan66.8%
Magenta44.8%
Yellow0.0%
Key (black)12.5%

Color previews

#4a7bdf text on a black background

contrast 5.19:1

Card sample

#4a7bdf text on a white background

contrast 4.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(74, 123, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(74, 123, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4a7bdf;
background: linear-gradient(135deg, #4a7bdf, #7C4ADF);

Monochromatic scale

Palettes built from #4a7bdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4a7bdf in the Color Lab