Skip to content

#cfd7f5

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

RGB
207, 215, 245
HSL
227°, 66%, 89%
CMYK
16, 12, 0, 4
Luminance
0.6846

At a glance

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

Hex
#cfd7f5
Hue
227°
blue
Saturation
66%
vivid
Lightness
89%
pale
Brightness
96%
HSV value
Perceived
85%
weighted brightness
Luminance
0.6846
WCAG relative
Temperature
Cool
90/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
14.69:1
Closest name
Lavender
ΔE2000 5.6
Where it sits
Hue227° of 360°
Saturation66%
Lightness89%
Temperature
Warm ← → Cool90% 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#cfd7f5
RGBrgb(207, 215, 245)
HSLhsl(227, 66%, 89%)
CMYKcmyk(16%, 12%, 0%, 4%)
LABlab(86.2 3.2 -15.6)
LCHlch(86.2 15.9 281.7)
OKLCHoklch(0.882 0.042 273.7)
Decimal13621237
Display P3color(display-p3 0.812 0.843 0.961)

Copy-ready code

/* CSS */
color: #cfd7f5;
background-color: #cfd7f5;
/* Tailwind (arbitrary) */
class="text-[#cfd7f5] bg-[#cfd7f5]"
/* SCSS */
$brand: #cfd7f5;
/* SwiftUI */
Color(red: 0.812, green: 0.843, blue: 0.961)
/* Android */
Color.parseColor("#cfd7f5")
/* Flutter */
Color(0xFFCFD7F5)
/* Python / OpenCV (BGR) */
(245, 215, 207)

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

Accessibility — WCAG contrast

Aa
#cfd7f5 on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#cfd7f5 on black: 14.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CFD9F6
deuteranopia · #CCD6F4
tritanopia · #C7DCE1

Color scale — 50 to 950

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

#F3F5FB
#E8EBF8
#cfd7f5
#A2B2EC
#748BE2
#4564D8
#2A4CCB
#233FA9
#1C3387
#182862
#0F193D
Base = 200Lightest = 50 · #F3F5FBDarkest = 950 · #0F193D
:root {
  --brand-50: #F3F5FB;
  --brand-100: #E8EBF8;
  --brand-200: #cfd7f5;
  --brand-300: #A2B2EC;
  --brand-400: #748BE2;
  --brand-500: #4564D8;
  --brand-600: #2A4CCB;
  --brand-700: #233FA9;
  --brand-800: #1C3387;
  --brand-900: #182862;
  --brand-950: #0F193D;
  --brand: #cfd7f5;
  --brand-ink: #000000;
}

Colors that work with #cfd7f5

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#C0C9ED
Hairlines and dividers
Muted text#4B5B9B
Captions on the surface
Accent#AC6D20
Second voice, not a rival
Dark variant#16286A
Hover, pressed, headers
Light variant#EAEDFB
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 #cfd7f5

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#F5EDCF
Analogous left#CFEAF5
Analogous right#DACFF5
Split-complement 1#F5DACF
Split-complement 2#EAF5CF
Triadic 1#F5CFD7
Triadic 2#D7F5CF
Tetradic#F5CFEA

RGB percentages

Red81.2%
Green84.3%
Blue96.1%

CMYK percentages

Cyan15.5%
Magenta12.2%
Yellow0.0%
Key (black)3.9%

Color previews

#cfd7f5 text on a black background

contrast 14.69:1

Card sample

#cfd7f5 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfd7f5

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.

#cfd7f5 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

Very light tints can drop out on uncoated stock; check it at 100% size before signing off.

#cfd7f5, answered

What color is #cfd7f5?

#cfd7f5 is a pale vivid blue, closest to Lavender (ΔE2000 5.6). It sits at 227° on the hue wheel with 66% saturation and 89% lightness, which reads as cool.

What is the RGB value of #cfd7f5?

rgb(207, 215, 245) — 207 red, 215 green and 245 blue out of 255, or 81.2% / 84.3% / 96.1% by channel.

Is #cfd7f5 a light or a dark color?

It is a light color. Relative luminance is 0.6846 and perceived brightness is 85%, so black text on it reaches 14.69:1.

Should I use black or white text on #cfd7f5?

Black. It scores 14.69:1 against #cfd7f5, versus 1.43:1 for white — AAA at any size.

What is the complementary color of #cfd7f5?

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

What colors go well with #cfd7f5?

For interface work: #F4F6FA as the surface, #C0C9ED for borders, #4B5B9B for secondary text, #AC6D20 as an accent and #16286A for hover and pressed states. For a palette, the analogous pair #CFEAF5 and #DACFF5 stays calm, while #F5EDCF is the loudest partner.

What is #cfd7f5 in CMYK for printing?

cmyk(16%, 12%, 0%, 4%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #cfd7f5 warm or cool?

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

Work with #cfd7f5 in the Color Lab