Skip to content

#d3dafb

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

RGB
211, 218, 251
HSL
230°, 83%, 91%
CMYK
16, 13, 0, 2
Luminance
0.7096

At a glance

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

Hex
#d3dafb
Hue
230°
blue
Saturation
83%
electric
Lightness
91%
pale
Brightness
98%
HSV value
Perceived
86%
weighted brightness
Luminance
0.7096
WCAG relative
Temperature
Cool
89/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
15.19:1
Closest name
Lavender
ΔE2000 5.5
Where it sits
Hue230° of 360°
Saturation83%
Lightness91%
Temperature
Warm ← → Cool89% 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#d3dafb
RGBrgb(211, 218, 251)
HSLhsl(230, 83%, 91%)
CMYKcmyk(16%, 13%, 0%, 2%)
LABlab(87.5 4.2 -16.9)
LCHlch(87.5 17.4 283.9)
OKLCHoklch(0.893 0.046 276.0)
Decimal13884155
Display P3color(display-p3 0.827 0.855 0.984)

Copy-ready code

/* CSS */
color: #d3dafb;
background-color: #d3dafb;
/* Tailwind (arbitrary) */
class="text-[#d3dafb] bg-[#d3dafb]"
/* SCSS */
$brand: #d3dafb;
/* SwiftUI */
Color(red: 0.827, green: 0.855, blue: 0.984)
/* Android */
Color.parseColor("#d3dafb")
/* Flutter */
Color(0xFFD3DAFB)
/* Python / OpenCV (BGR) */
(251, 218, 211)

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

Accessibility — WCAG contrast

Aa
#d3dafb on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#d3dafb on black: 15.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D1DDFD
deuteranopia · #CFDAFA
tritanopia · #CAE0E5

Color scale — 50 to 950

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

#F2F4FC
#d3dafb
#C6CEF6
#98A9F6
#657DF1
#3152EC
#1438E0
#112FBB
#0E2596
#0E1F6C
#091344
Base = 100Lightest = 50 · #F2F4FCDarkest = 950 · #091344
:root {
  --brand-50: #F2F4FC;
  --brand-100: #d3dafb;
  --brand-200: #C6CEF6;
  --brand-300: #98A9F6;
  --brand-400: #657DF1;
  --brand-500: #3152EC;
  --brand-600: #1438E0;
  --brand-700: #112FBB;
  --brand-800: #0E2596;
  --brand-900: #0E1F6C;
  --brand-950: #091344;
  --brand: #d3dafb;
  --brand-ink: #000000;
}

Colors that work with #d3dafb

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#C0C8ED
Hairlines and dividers
Muted text#4B599B
Captions on the surface
Accent#BF730D
Second voice, not a rival
Dark variant#0B1D75
Hover, pressed, headers
Light variant#E8EBFD
Selected rows, tints
Dark surface#141724
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 #d3dafb

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#FBF4D3
Analogous left#D3EEFB
Analogous right#E0D3FB
Split-complement 1#FBE0D3
Split-complement 2#EEFBD3
Triadic 1#FBD3DA
Triadic 2#DAFBD3
Tetradic#FBD3EE

RGB percentages

Red82.7%
Green85.5%
Blue98.4%

CMYK percentages

Cyan15.9%
Magenta13.1%
Yellow0.0%
Key (black)1.6%

Color previews

#d3dafb text on a black background

contrast 15.19:1

Card sample

#d3dafb text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d3dafb

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.

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

#d3dafb, answered

What color is #d3dafb?

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

What is the RGB value of #d3dafb?

rgb(211, 218, 251) — 211 red, 218 green and 251 blue out of 255, or 82.7% / 85.5% / 98.4% by channel.

Is #d3dafb a light or a dark color?

It is a light color. Relative luminance is 0.7096 and perceived brightness is 86%, so black text on it reaches 15.19:1.

Should I use black or white text on #d3dafb?

Black. It scores 15.19:1 against #d3dafb, versus 1.38:1 for white — AAA at any size.

What is the complementary color of #d3dafb?

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

What colors go well with #d3dafb?

For interface work: #F4F5FA as the surface, #C0C8ED for borders, #4B599B for secondary text, #BF730D as an accent and #0B1D75 for hover and pressed states. For a palette, the analogous pair #D3EEFB and #E0D3FB stays calm, while #FBF4D3 is the loudest partner.

What is #d3dafb in CMYK for printing?

cmyk(16%, 13%, 0%, 2%). 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 #d3dafb warm or cool?

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

Work with #d3dafb in the Color Lab