Skip to content

#d2dcfc

a pale, electric blue · cool · closest name: Lavender

RGB
210, 220, 252
HSL
226°, 88%, 91%
CMYK
17, 13, 0, 1
Luminance
0.7192

At a glance

Every number on this page in one read: what #d2dcfc is made of, how bright it looks, and which way it leans.

Hex
#d2dcfc
Hue
226°
blue
Saturation
88%
electric
Lightness
91%
pale
Brightness
99%
HSV value
Perceived
87%
weighted brightness
Luminance
0.7192
WCAG relative
Temperature
Cool
91/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
15.38:1
Closest name
Lavender
ΔE2000 5.7
Where it sits
Hue226° of 360°
Saturation88%
Lightness91%
Temperature
Warm ← → Cool91% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#d2dcfc
RGBrgb(210, 220, 252)
HSLhsl(226, 88%, 91%)
CMYKcmyk(17%, 13%, 0%, 1%)
LABlab(87.9 3.0 -16.7)
LCHlch(87.9 17.0 280.2)
OKLCHoklch(0.897 0.045 271.7)
Decimal13819132
Display P3color(display-p3 0.824 0.863 0.988)

Copy-ready code

/* CSS */
color: #d2dcfc;
background-color: #d2dcfc;
/* Tailwind (arbitrary) */
class="text-[#d2dcfc] bg-[#d2dcfc]"
/* SCSS */
$brand: #d2dcfc;
/* SwiftUI */
Color(red: 0.824, green: 0.863, blue: 0.988)
/* Android */
Color.parseColor("#d2dcfc")
/* Flutter */
Color(0xFFD2DCFC)
/* Python / OpenCV (BGR) */
(252, 220, 210)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #d2dcfc · 15.38:1
Use #000000AAA at every size.
Aa
White text · 1.37:1
AA fail · AA large fail · AAA fail
Aa
Black text · 15.38:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #d2dcfc as text scores 1.37:1 on white and 15.38:1 on black.

Accessibility — WCAG contrast

Aa
#d2dcfc on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#d2dcfc on black: 15.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D3DEFE
deuteranopia · #D0DBFB
tritanopia · #C8E2E6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d2dcfc is pinned to step 100; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F2F5FD
#d2dcfc
#C4D0F8
#96ADF8
#6184F4
#2D5BF1
#0F42E5
#0D37BF
#0A2C99
#0C236E
#071645
Base = 100Lightest = 50 · #F2F5FDDarkest = 950 · #071645
:root {
  --brand-50: #F2F5FD;
  --brand-100: #d2dcfc;
  --brand-200: #C4D0F8;
  --brand-300: #96ADF8;
  --brand-400: #6184F4;
  --brand-500: #2D5BF1;
  --brand-600: #0F42E5;
  --brand-700: #0D37BF;
  --brand-800: #0A2C99;
  --brand-900: #0C236E;
  --brand-950: #071645;
  --brand: #d2dcfc;
  --brand-ink: #000000;
}

Colors that work with #d2dcfc

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F6FA
Tinted page background
Border#C0CAED
Hairlines and dividers
Muted text#4B5E9B
Captions on the surface
Accent#C46A08
Second voice, not a rival
Dark variant#082378
Hover, pressed, headers
Light variant#E7ECFD
Selected rows, tints
Dark surface#141824
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #d2dcfc

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#FCF2D2
Analogous left#D2F1FC
Analogous right#DDD2FC
Split-complement 1#FCDDD2
Split-complement 2#F1FCD2
Triadic 1#FCD2DC
Triadic 2#DCFCD2
Tetradic#FCD2F1

RGB percentages

Red82.4%
Green86.3%
Blue98.8%

CMYK percentages

Cyan16.7%
Magenta12.7%
Yellow0.0%
Key (black)1.2%

Color previews

#d2dcfc text on a black background

contrast 15.38:1

Card sample

#d2dcfc text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 220, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 220, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2dcfc;
background: linear-gradient(135deg, #d2dcfc, #E4D2FC);

Monochromatic scale

Palettes built from #d2dcfc

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#d2dcfc in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#d2dcfc, answered

What color is #d2dcfc?

#d2dcfc is a pale electric blue, closest to Lavender (ΔE2000 5.7). It sits at 226° on the hue wheel with 88% saturation and 91% lightness, which reads as cool.

What is the RGB value of #d2dcfc?

rgb(210, 220, 252) — 210 red, 220 green and 252 blue out of 255, or 82.4% / 86.3% / 98.8% by channel.

Is #d2dcfc a light or a dark color?

It is a light color. Relative luminance is 0.7192 and perceived brightness is 87%, so black text on it reaches 15.38:1.

Should I use black or white text on #d2dcfc?

Black. It scores 15.38:1 against #d2dcfc, versus 1.37:1 for white — AAA at any size.

What is the complementary color of #d2dcfc?

#FCF2D2 sits directly opposite on the wheel. Softer options are the split-complements #FCDDD2 and #F1FCD2, which give the same contrast with far less vibration.

What colors go well with #d2dcfc?

For interface work: #F4F6FA as the surface, #C0CAED for borders, #4B5E9B for secondary text, #C46A08 as an accent and #082378 for hover and pressed states. For a palette, the analogous pair #D2F1FC and #DDD2FC stays calm, while #FCF2D2 is the loudest partner.

What is #d2dcfc in CMYK for printing?

cmyk(17%, 13%, 0%, 1%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #d2dcfc warm or cool?

Cool — it scores 91 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D7D2FC; nudged cooler, #D2E4FC.

Work with #d2dcfc in the Color Lab