Skip to content

#a2c7df

a light, vivid blue · cool · closest name: skyblue

RGB
162, 199, 223
HSL
204°, 49%, 76%
CMYK
27, 11, 0, 13
Luminance
0.5386

Every format

HEX#a2c7df
RGBrgb(162, 199, 223)
HSLhsl(204, 49%, 76%)
CMYKcmyk(27%, 11%, 0%, 13%)
LABlab(78.4 -6.9 -15.9)
LCHlch(78.4 17.4 246.7)
OKLCHoklch(0.811 0.052 236.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2c7df on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#a2c7df on black: 11.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green78.0%
Blue87.5%

CMYK percentages

Cyan27.4%
Magenta10.8%
Yellow0.0%
Key (black)12.5%

Color previews

#a2c7df text on a black background

contrast 11.77:1

Card sample

#a2c7df text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2c7df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2c7df in the Color Lab