Skip to content

#cad4f2

a pale, vivid blue · warm · closest name: lavender

RGB
202, 212, 242
HSL
225°, 61%, 87%
CMYK
17, 12, 0, 5
Luminance
0.6605

Every format

HEX#cad4f2
RGBrgb(202, 212, 242)
HSLhsl(225, 61%, 87%)
CMYKcmyk(17%, 12%, 0%, 5%)
LABlab(85.0 2.6 -15.8)
LCHlch(85.0 16.1 279.4)
OKLCHoklch(0.872 0.043 270.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cad4f2 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#cad4f2 on black: 14.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green83.1%
Blue94.9%

CMYK percentages

Cyan16.5%
Magenta12.4%
Yellow0.0%
Key (black)5.1%

Color previews

#cad4f2 text on a black background

contrast 14.21:1

Card sample

#cad4f2 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(202, 212, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 212, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cad4f2;
background: linear-gradient(135deg, #cad4f2, #DBCAF2);

Monochromatic scale

Palettes built from #cad4f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cad4f2 in the Color Lab