Skip to content

#d7e2ff

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

RGB
215, 226, 255
HSL
224°, 100%, 92%
CMYK
16, 11, 0, 0
Luminance
0.7606

At a glance

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

Hex
#d7e2ff
Hue
224°
blue
Saturation
100%
electric
Lightness
92%
pale
Brightness
100%
HSV value
Perceived
89%
weighted brightness
Luminance
0.7606
WCAG relative
Temperature
Cool
93/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
16.21:1
Closest name
Lavender
ΔE2000 5.1
Where it sits
Hue224° of 360°
Saturation100%
Lightness92%
Temperature
Warm ← → Cool93% 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#d7e2ff
RGBrgb(215, 226, 255)
HSLhsl(224, 100%, 92%)
CMYKcmyk(16%, 11%, 0%, 0%)
LABlab(89.9 2.0 -15.3)
LCHlch(89.9 15.4 277.6)
OKLCHoklch(0.913 0.041 269.1)
Decimal14148351
Display P3color(display-p3 0.843 0.886 1.000)

Copy-ready code

/* CSS */
color: #d7e2ff;
background-color: #d7e2ff;
/* Tailwind (arbitrary) */
class="text-[#d7e2ff] bg-[#d7e2ff]"
/* SCSS */
$brand: #d7e2ff;
/* SwiftUI */
Color(red: 0.843, green: 0.886, blue: 1.000)
/* Android */
Color.parseColor("#d7e2ff")
/* Flutter */
Color(0xFFD7E2FF)
/* Python / OpenCV (BGR) */
(255, 226, 215)

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

Accessibility — WCAG contrast

Aa
#d7e2ff on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#d7e2ff on black: 16.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DAE4FF
deuteranopia · #D7E1FE
tritanopia · #CEE7EB

Color scale — 50 to 950

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

#F1F5FE
#d7e2ff
#C0D0FC
#8FAEFF
#5785FF
#1F5CFF
#0043F5
#0038CC
#002DA3
#052476
#031649
Base = 100Lightest = 50 · #F1F5FEDarkest = 950 · #031649
:root {
  --brand-50: #F1F5FE;
  --brand-100: #d7e2ff;
  --brand-200: #C0D0FC;
  --brand-300: #8FAEFF;
  --brand-400: #5785FF;
  --brand-500: #1F5CFF;
  --brand-600: #0043F5;
  --brand-700: #0038CC;
  --brand-800: #002DA3;
  --brand-900: #052476;
  --brand-950: #031649;
  --brand: #d7e2ff;
  --brand-ink: #000000;
}

Colors that work with #d7e2ff

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#C0CCED
Hairlines and dividers
Muted text#4B619B
Captions on the surface
Accent#CC6100
Second voice, not a rival
Dark variant#002380
Hover, pressed, headers
Light variant#E5EDFF
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 #d7e2ff

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#FFF4D7
Analogous left#D7F6FF
Analogous right#E0D7FF
Split-complement 1#FFE0D7
Split-complement 2#F6FFD7
Triadic 1#FFD7E2
Triadic 2#E2FFD7
Tetradic#FFD7F6

RGB percentages

Red84.3%
Green88.6%
Blue100.0%

CMYK percentages

Cyan15.7%
Magenta11.4%
Yellow0.0%
Key (black)0.0%

Color previews

#d7e2ff text on a black background

contrast 16.21:1

Card sample

#d7e2ff text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(215, 226, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(215, 226, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d7e2ff;
background: linear-gradient(135deg, #d7e2ff, #E7D7FF);

Monochromatic scale

Palettes built from #d7e2ff

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.

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

#d7e2ff, answered

What color is #d7e2ff?

#d7e2ff is a pale electric blue, closest to Lavender (ΔE2000 5.1). It sits at 224° on the hue wheel with 100% saturation and 92% lightness, which reads as cool.

What is the RGB value of #d7e2ff?

rgb(215, 226, 255) — 215 red, 226 green and 255 blue out of 255, or 84.3% / 88.6% / 100% by channel.

Is #d7e2ff a light or a dark color?

It is a light color. Relative luminance is 0.7606 and perceived brightness is 89%, so black text on it reaches 16.21:1.

Should I use black or white text on #d7e2ff?

Black. It scores 16.21:1 against #d7e2ff, versus 1.30:1 for white — AAA at any size.

What is the complementary color of #d7e2ff?

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

What colors go well with #d7e2ff?

For interface work: #F4F6FA as the surface, #C0CCED for borders, #4B619B for secondary text, #CC6100 as an accent and #002380 for hover and pressed states. For a palette, the analogous pair #D7F6FF and #E0D7FF stays calm, while #FFF4D7 is the loudest partner.

What is #d7e2ff in CMYK for printing?

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

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

Work with #d7e2ff in the Color Lab