Skip to content

#8f92eb

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

RGB
143, 146, 235
HSL
238°, 70%, 74%
CMYK
39, 38, 0, 8
Luminance
0.3240

Every format

HEX#8f92eb
RGBrgb(143, 146, 235)
HSLhsl(238, 70%, 74%)
CMYKcmyk(39%, 38%, 0%, 8%)
LABlab(63.7 20.4 -45.3)
LCHlch(63.7 49.6 294.2)
OKLCHoklch(0.695 0.130 281.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8f92eb on white: 2.81:1
AA ✗ fail · AA-large · AAA
Aa
#8f92eb on black: 7.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.1%
Green57.3%
Blue92.2%

CMYK percentages

Cyan39.1%
Magenta37.9%
Yellow0.0%
Key (black)7.8%

Color previews

#8f92eb text on a black background

contrast 7.48:1

Card sample

#8f92eb text on a white background

contrast 2.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8f92eb;
Background color
Panel with #8f92eb background
background-color: #8f92eb;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(143, 146, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 146, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8f92eb;
background: linear-gradient(135deg, #8f92eb, #C98FEB);

Monochromatic scale

Palettes built from #8f92eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8f92eb in the Color Lab