Skip to content

#8088ff

a light, electric blue · warm · closest name: royalblue

RGB
128, 136, 255
HSL
236°, 100%, 75%
CMYK
50, 47, 0, 0
Luminance
0.2942

Every format

HEX#8088ff
RGBrgb(128, 136, 255)
HSLhsl(236, 100%, 75%)
CMYKcmyk(50%, 47%, 0%, 0%)
LABlab(61.1 28.4 -60.3)
LCHlch(61.1 66.7 295.2)
OKLCHoklch(0.676 0.173 277.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8088ff on white: 3.05:1
AA ✗ fail · AA-large · AAA
Aa
#8088ff on black: 6.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red50.2%
Green53.3%
Blue100.0%

CMYK percentages

Cyan49.8%
Magenta46.7%
Yellow0.0%
Key (black)0.0%

Color previews

#8088ff text on a black background

contrast 6.88:1

Card sample

#8088ff text on a white background

contrast 3.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8088ff;
Background color
Panel with #8088ff background
background-color: #8088ff;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #8088ff;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(128, 136, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 136, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8088ff;
background: linear-gradient(135deg, #8088ff, #CD80FF);

Monochromatic scale

Palettes built from #8088ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8088ff in the Color Lab