Skip to content

#798ddf

a light, vivid blue · warm · closest name: dodgerblue

RGB
121, 141, 223
HSL
228°, 61%, 68%
CMYK
46, 37, 0, 13
Luminance
0.2844

Every format

HEX#798ddf
RGBrgb(121, 141, 223)
HSLhsl(228, 61%, 68%)
CMYKcmyk(46%, 37%, 0%, 13%)
LABlab(60.3 14.3 -44.0)
LCHlch(60.3 46.3 288.0)
OKLCHoklch(0.663 0.124 272.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#798ddf on white: 3.14:1
AA ✗ fail · AA-large · AAA
Aa
#798ddf on black: 6.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red47.5%
Green55.3%
Blue87.5%

CMYK percentages

Cyan45.7%
Magenta36.8%
Yellow0.0%
Key (black)12.5%

Color previews

#798ddf text on a black background

contrast 6.69:1

Card sample

#798ddf text on a white background

contrast 3.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #798ddf;
Background color
Panel with #798ddf background
background-color: #798ddf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #798ddf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(121, 141, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(121, 141, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #798ddf;
background: linear-gradient(135deg, #798ddf, #A979DF);

Monochromatic scale

Palettes built from #798ddf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #798ddf in the Color Lab