Skip to content

#808fdf

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

RGB
128, 143, 223
HSL
231°, 60%, 69%
CMYK
43, 36, 0, 13
Luminance
0.2956

Every format

HEX#808fdf
RGBrgb(128, 143, 223)
HSLhsl(231, 60%, 69%)
CMYKcmyk(43%, 36%, 0%, 13%)
LABlab(61.3 14.9 -42.5)
LCHlch(61.3 45.0 289.3)
OKLCHoklch(0.672 0.120 274.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#808fdf on white: 3.04:1
AA ✗ fail · AA-large · AAA
Aa
#808fdf on black: 6.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red50.2%
Green56.1%
Blue87.5%

CMYK percentages

Cyan42.6%
Magenta35.9%
Yellow0.0%
Key (black)12.5%

Color previews

#808fdf text on a black background

contrast 6.91:1

Card sample

#808fdf text on a white background

contrast 3.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #808fdf;
Background color
Panel with #808fdf background
background-color: #808fdf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #808fdf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(128, 143, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 143, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #808fdf;
background: linear-gradient(135deg, #808fdf, #B080DF);

Monochromatic scale

Palettes built from #808fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #808fdf in the Color Lab