Skip to content

#d5dafd

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

RGB
213, 218, 253
HSL
233°, 91%, 91%
CMYK
16, 14, 0, 1
Luminance
0.7138

At a glance

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

Hex
#d5dafd
Hue
233°
blue
Saturation
91%
electric
Lightness
91%
pale
Brightness
99%
HSV value
Perceived
87%
weighted brightness
Luminance
0.7138
WCAG relative
Temperature
Cool
88/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
15.28:1
Closest name
Lavender
ΔE2000 5.7
Where it sits
Hue233° of 360°
Saturation91%
Lightness91%
Temperature
Warm ← → Cool88% 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#d5dafd
RGBrgb(213, 218, 253)
HSLhsl(233, 91%, 91%)
CMYKcmyk(16%, 14%, 0%, 1%)
LABlab(87.7 5.2 -17.6)
LCHlch(87.7 18.3 286.4)
OKLCHoklch(0.896 0.048 279.0)
Decimal14015229
Display P3color(display-p3 0.835 0.855 0.992)

Copy-ready code

/* CSS */
color: #d5dafd;
background-color: #d5dafd;
/* Tailwind (arbitrary) */
class="text-[#d5dafd] bg-[#d5dafd]"
/* SCSS */
$brand: #d5dafd;
/* SwiftUI */
Color(red: 0.835, green: 0.855, blue: 0.992)
/* Android */
Color.parseColor("#d5dafd")
/* Flutter */
Color(0xFFD5DAFD)
/* Python / OpenCV (BGR) */
(253, 218, 213)

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 #d5dafd · 15.28:1
Use #000000AAA at every size.
Aa
White text · 1.37:1
AA fail · AA large fail · AAA fail
Aa
Black text · 15.28:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #d5dafd as text scores 1.37:1 on white and 15.28:1 on black.

Accessibility — WCAG contrast

Aa
#d5dafd on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#d5dafd on black: 15.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D1DDFF
deuteranopia · #CFDAFC
tritanopia · #CCE0E5

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d5dafd 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.

#F2F3FD
#d5dafd
#C3CAF9
#94A1FA
#5E71F7
#2942F5
#0B27EA
#0920C3
#071A9C
#0A1770
#060E46
Base = 100Lightest = 50 · #F2F3FDDarkest = 950 · #060E46
:root {
  --brand-50: #F2F3FD;
  --brand-100: #d5dafd;
  --brand-200: #C3CAF9;
  --brand-300: #94A1FA;
  --brand-400: #5E71F7;
  --brand-500: #2942F5;
  --brand-600: #0B27EA;
  --brand-700: #0920C3;
  --brand-800: #071A9C;
  --brand-900: #0A1770;
  --brand-950: #060E46;
  --brand: #d5dafd;
  --brand-ink: #000000;
}

Colors that work with #d5dafd

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#F4F5FA
Tinted page background
Border#C0C5ED
Hairlines and dividers
Muted text#4B559B
Captions on the surface
Accent#C77D05
Second voice, not a rival
Dark variant#06147A
Hover, pressed, headers
Light variant#E7EAFE
Selected rows, tints
Dark surface#141624
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 #d5dafd

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#FDF8D5
Analogous left#D5EEFD
Analogous right#E4D5FD
Split-complement 1#FDE4D5
Split-complement 2#EEFDD5
Triadic 1#FDD5DA
Triadic 2#DAFDD5
Tetradic#FDD5EE

RGB percentages

Red83.5%
Green85.5%
Blue99.2%

CMYK percentages

Cyan15.8%
Magenta13.8%
Yellow0.0%
Key (black)0.8%

Color previews

#d5dafd text on a black background

contrast 15.28:1

Card sample

#d5dafd text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(213, 218, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(213, 218, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d5dafd;
background: linear-gradient(135deg, #d5dafd, #EBD5FD);

Monochromatic scale

Palettes built from #d5dafd

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.

#d5dafd 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.

#d5dafd, answered

What color is #d5dafd?

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

What is the RGB value of #d5dafd?

rgb(213, 218, 253) — 213 red, 218 green and 253 blue out of 255, or 83.5% / 85.5% / 99.2% by channel.

Is #d5dafd a light or a dark color?

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

Should I use black or white text on #d5dafd?

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

What is the complementary color of #d5dafd?

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

What colors go well with #d5dafd?

For interface work: #F4F5FA as the surface, #C0C5ED for borders, #4B559B for secondary text, #C77D05 as an accent and #06147A for hover and pressed states. For a palette, the analogous pair #D5EEFD and #E4D5FD stays calm, while #FDF8D5 is the loudest partner.

What is #d5dafd in CMYK for printing?

cmyk(16%, 14%, 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 #d5dafd warm or cool?

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

Work with #d5dafd in the Color Lab