Skip to content

#9aa2df

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

RGB
154, 162, 223
HSL
233°, 52%, 74%
CMYK
31, 27, 0, 13
Luminance
0.3804

Every format

HEX#9aa2df
RGBrgb(154, 162, 223)
HSLhsl(233, 52%, 74%)
CMYKcmyk(31%, 27%, 0%, 13%)
LABlab(68.0 11.1 -31.8)
LCHlch(68.0 33.6 289.2)
OKLCHoklch(0.729 0.089 278.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9aa2df on white: 2.44:1
AA ✗ fail · AA-large · AAA
Aa
#9aa2df on black: 8.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.4%
Green63.5%
Blue87.5%

CMYK percentages

Cyan30.9%
Magenta27.4%
Yellow0.0%
Key (black)12.5%

Color previews

#9aa2df text on a black background

contrast 8.61:1

Card sample

#9aa2df text on a white background

contrast 2.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9aa2df;
Background color
Panel with #9aa2df background
background-color: #9aa2df;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(154, 162, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(154, 162, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9aa2df;
background: linear-gradient(135deg, #9aa2df, #C09ADF);

Monochromatic scale

Palettes built from #9aa2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9aa2df in the Color Lab