Skip to content

#798bbc

a balanced, soft blue · cool · closest name: steelblue

RGB
121, 139, 188
HSL
224°, 33%, 61%
CMYK
36, 26, 0, 26
Luminance
0.2616

Every format

HEX#798bbc
RGBrgb(121, 139, 188)
HSLhsl(224, 33%, 61%)
CMYKcmyk(36%, 26%, 0%, 26%)
LABlab(58.2 5.6 -27.6)
LCHlch(58.2 28.2 281.4)
OKLCHoklch(0.641 0.077 268.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#798bbc on white: 3.37:1
AA ✗ fail · AA-large · AAA
Aa
#798bbc on black: 6.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red47.5%
Green54.5%
Blue73.7%

CMYK percentages

Cyan35.6%
Magenta26.1%
Yellow0.0%
Key (black)26.3%

Color previews

#798bbc text on a black background

contrast 6.23:1

Card sample

#798bbc text on a white background

contrast 3.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(121, 139, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(121, 139, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #798bbc;
background: linear-gradient(135deg, #798bbc, #9479BC);

Monochromatic scale

Palettes built from #798bbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #798bbc in the Color Lab