Skip to content

#8097eb

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

RGB
128, 151, 235
HSL
227°, 73%, 71%
CMYK
46, 36, 0, 8
Luminance
0.3272

Every format

HEX#8097eb
RGBrgb(128, 151, 235)
HSLhsl(227, 73%, 71%)
CMYKcmyk(46%, 36%, 0%, 8%)
LABlab(63.9 13.7 -44.9)
LCHlch(63.9 47.0 287.0)
OKLCHoklch(0.694 0.127 271.2)

Copy-ready code

/* CSS */
color: #8097eb;
background-color: #8097eb;
/* Tailwind (arbitrary) */
class="text-[#8097eb] bg-[#8097eb]"
/* SCSS */
$brand: #8097eb;
/* SwiftUI */
Color(red: 0.502, green: 0.592, blue: 0.922)
/* Android */
Color.parseColor("#8097eb")

Accessibility — WCAG contrast

Aa
#8097eb on white: 2.78:1
AA ✗ fail · AA-large · AAA
Aa
#8097eb on black: 7.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red50.2%
Green59.2%
Blue92.2%

CMYK percentages

Cyan45.5%
Magenta35.7%
Yellow0.0%
Key (black)7.8%

Color previews

#8097eb text on a black background

contrast 7.54:1

Card sample

#8097eb text on a white background

contrast 2.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8097eb;
Background color
Panel with #8097eb background
background-color: #8097eb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #8097eb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(128, 151, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 151, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8097eb;
background: linear-gradient(135deg, #8097eb, #B080EB);

Monochromatic scale

Palettes built from #8097eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8097eb in the Color Lab