Skip to content

#9da2ef

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

RGB
157, 162, 239
HSL
236°, 72%, 78%
CMYK
34, 32, 0, 6
Luminance
0.3924

Every format

HEX#9da2ef
RGBrgb(157, 162, 239)
HSLhsl(236, 72%, 78%)
CMYKcmyk(34%, 32%, 0%, 6%)
LABlab(68.9 16.0 -39.2)
LCHlch(68.9 42.3 292.2)
OKLCHoklch(0.738 0.111 280.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9da2ef on white: 2.37:1
AA ✗ fail · AA-large · AAA
Aa
#9da2ef on black: 8.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.6%
Green63.5%
Blue93.7%

CMYK percentages

Cyan34.3%
Magenta32.2%
Yellow0.0%
Key (black)6.3%

Color previews

#9da2ef text on a black background

contrast 8.85:1

Card sample

#9da2ef text on a white background

contrast 2.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9da2ef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9da2ef in the Color Lab