Skip to content

#afb4e2

a light, vivid blue · cool · closest name: Light Steel Blue

RGB
175, 180, 226
HSL
234°, 47%, 79%
CMYK
23, 20, 0, 11
Luminance
0.4725

At a glance

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

Hex
#afb4e2
Hue
234°
blue
Saturation
47%
vivid
Lightness
79%
light
Brightness
89%
HSV value
Perceived
72%
weighted brightness
Luminance
0.4725
WCAG relative
Temperature
Cool
87/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
10.45:1
Closest name
Light Steel Blue
ΔE2000 8.9
Where it sits
Hue234° of 360°
Saturation47%
Lightness79%
Temperature
Warm ← → Cool87% 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#afb4e2
RGBrgb(175, 180, 226)
HSLhsl(234, 47%, 79%)
CMYKcmyk(23%, 20%, 0%, 11%)
LABlab(74.3 8.0 -23.6)
LCHlch(74.3 24.9 288.7)
OKLCHoklch(0.782 0.066 279.9)
Decimal11515106
Display P3color(display-p3 0.686 0.706 0.886)

Copy-ready code

/* CSS */
color: #afb4e2;
background-color: #afb4e2;
/* Tailwind (arbitrary) */
class="text-[#afb4e2] bg-[#afb4e2]"
/* SCSS */
$brand: #afb4e2;
/* SwiftUI */
Color(red: 0.686, green: 0.706, blue: 0.886)
/* Android */
Color.parseColor("#afb4e2")
/* Flutter */
Color(0xFFAFB4E2)
/* Python / OpenCV (BGR) */
(226, 180, 175)

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

Accessibility — WCAG contrast

Aa
#afb4e2 on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#afb4e2 on black: 10.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A8B9E4
deuteranopia · #A5B5E1
tritanopia · #A3BCC3

Color scale — 50 to 950

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

#F5F5FA
#EAEBF5
#D0D3EC
#afb4e2
#838BD2
#5A65C3
#414CB4
#364096
#2B3378
#232858
#161937
Base = 300Lightest = 50 · #F5F5FADarkest = 950 · #161937
:root {
  --brand-50: #F5F5FA;
  --brand-100: #EAEBF5;
  --brand-200: #D0D3EC;
  --brand-300: #afb4e2;
  --brand-400: #838BD2;
  --brand-500: #5A65C3;
  --brand-600: #414CB4;
  --brand-700: #364096;
  --brand-800: #2B3378;
  --brand-900: #232858;
  --brand-950: #161937;
  --brand: #afb4e2;
  --brand-ink: #000000;
}

Colors that work with #afb4e2

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#C3C7E9
Hairlines and dividers
Muted text#4B529B
Captions on the surface
Accent#9A7632
Second voice, not a rival
Dark variant#22285E
Hover, pressed, headers
Light variant#ECEDF8
Selected rows, tints
Dark surface#141524
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 #afb4e2

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#E2DDAF
Analogous left#AFCDE2
Analogous right#C3AFE2
Split-complement 1#E2C3AF
Split-complement 2#CDE2AF
Triadic 1#E2AFB4
Triadic 2#B4E2AF
Tetradic#E2AFCD

RGB percentages

Red68.6%
Green70.6%
Blue88.6%

CMYK percentages

Cyan22.6%
Magenta20.4%
Yellow0.0%
Key (black)11.4%

Color previews

#afb4e2 text on a black background

contrast 10.45:1

Card sample

#afb4e2 text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb4e2

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.

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

Converts to four-color process without much drama. Proof it anyway.

#afb4e2, answered

What color is #afb4e2?

#afb4e2 is a light vivid blue, closest to Light Steel Blue (ΔE2000 8.9). It sits at 234° on the hue wheel with 47% saturation and 79% lightness, which reads as cool.

What is the RGB value of #afb4e2?

rgb(175, 180, 226) — 175 red, 180 green and 226 blue out of 255, or 68.6% / 70.6% / 88.6% by channel.

Is #afb4e2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4725 and perceived brightness is 72%, so black text on it reaches 10.45:1.

Should I use black or white text on #afb4e2?

Black. It scores 10.45:1 against #afb4e2, versus 2.01:1 for white — AAA at any size.

What is the complementary color of #afb4e2?

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

What colors go well with #afb4e2?

For interface work: #F4F5FA as the surface, #C3C7E9 for borders, #4B529B for secondary text, #9A7632 as an accent and #22285E for hover and pressed states. For a palette, the analogous pair #AFCDE2 and #C3AFE2 stays calm, while #E2DDAF is the loudest partner.

What is #afb4e2 in CMYK for printing?

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

Is #afb4e2 warm or cool?

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

Work with #afb4e2 in the Color Lab