Skip to content

#afe5ff

a light, electric cyan · cool · closest name: Light Blue

RGB
175, 229, 255
HSL
200°, 100%, 84%
CMYK
31, 10, 0, 0
Luminance
0.7237

At a glance

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

Hex
#afe5ff
Hue
200°
cyan
Saturation
100%
electric
Lightness
84%
light
Brightness
100%
HSV value
Perceived
85%
weighted brightness
Luminance
0.7237
WCAG relative
Temperature
Cool
96/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
15.47:1
Closest name
Light Blue
ΔE2000 4.9
Where it sits
Hue200° of 360°
Saturation100%
Lightness84%
Temperature
Warm ← → Cool96% 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#afe5ff
RGBrgb(175, 229, 255)
HSLhsl(200, 100%, 84%)
CMYKcmyk(31%, 10%, 0%, 0%)
LABlab(88.2 -11.3 -18.2)
LCHlch(88.2 21.4 238.2)
OKLCHoklch(0.893 0.066 229.1)
Decimal11527679
Display P3color(display-p3 0.686 0.898 1.000)

Copy-ready code

/* CSS */
color: #afe5ff;
background-color: #afe5ff;
/* Tailwind (arbitrary) */
class="text-[#afe5ff] bg-[#afe5ff]"
/* SCSS */
$brand: #afe5ff;
/* SwiftUI */
Color(red: 0.686, green: 0.898, blue: 1.000)
/* Android */
Color.parseColor("#afe5ff")
/* Flutter */
Color(0xFFAFE5FF)
/* Python / OpenCV (BGR) */
(255, 229, 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 #afe5ff · 15.47:1
Use #000000AAA at every size.
Aa
White text · 1.36:1
AA fail · AA large fail · AAA fail
Aa
Black text · 15.47:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #afe5ff as text scores 1.36:1 on white and 15.47:1 on black.

Accessibility — WCAG contrast

Aa
#afe5ff on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#afe5ff on black: 15.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D8E3FF
deuteranopia · #CCD9FF
tritanopia · #95EDED

Color scale — 50 to 950

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

#F1FAFE
#E3F4FC
#afe5ff
#8FDBFF
#57C8FF
#1FB6FF
#00A5F5
#008ACC
#006EA3
#055176
#033349
Base = 200Lightest = 50 · #F1FAFEDarkest = 950 · #033349
:root {
  --brand-50: #F1FAFE;
  --brand-100: #E3F4FC;
  --brand-200: #afe5ff;
  --brand-300: #8FDBFF;
  --brand-400: #57C8FF;
  --brand-500: #1FB6FF;
  --brand-600: #00A5F5;
  --brand-700: #008ACC;
  --brand-800: #006EA3;
  --brand-900: #055176;
  --brand-950: #033349;
  --brand: #afe5ff;
  --brand-ink: #000000;
}

Colors that work with #afe5ff

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#F4F8FA
Tinted page background
Border#C0DEED
Hairlines and dividers
Muted text#4B819B
Captions on the surface
Accent#CC0F00
Second voice, not a rival
Dark variant#005680
Hover, pressed, headers
Light variant#E5F7FF
Selected rows, tints
Dark surface#141F24
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 #afe5ff

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
  • Thin strokes and 1px borders — they disappear on light UI
  • 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#FFC9AF
Analogous left#AFFFF1
Analogous right#AFBDFF
Split-complement 1#FFAFBD
Split-complement 2#FFF1AF
Triadic 1#FFAFE5
Triadic 2#E5FFAF
Tetradic#F1AFFF

RGB percentages

Red68.6%
Green89.8%
Blue100.0%

CMYK percentages

Cyan31.4%
Magenta10.2%
Yellow0.0%
Key (black)0.0%

Color previews

#afe5ff text on a black background

contrast 15.47:1

Card sample

#afe5ff text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afe5ff

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.

#afe5ff in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyTravelHealthcareMedia
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#afe5ff, answered

What color is #afe5ff?

#afe5ff is a light electric cyan, closest to Light Blue (ΔE2000 4.9). It sits at 200° on the hue wheel with 100% saturation and 84% lightness, which reads as cool.

What is the RGB value of #afe5ff?

rgb(175, 229, 255) — 175 red, 229 green and 255 blue out of 255, or 68.6% / 89.8% / 100% by channel.

Is #afe5ff a light or a dark color?

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

Should I use black or white text on #afe5ff?

Black. It scores 15.47:1 against #afe5ff, versus 1.36:1 for white — AAA at any size.

What is the complementary color of #afe5ff?

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

What colors go well with #afe5ff?

For interface work: #F4F8FA as the surface, #C0DEED for borders, #4B819B for secondary text, #CC0F00 as an accent and #005680 for hover and pressed states. For a palette, the analogous pair #AFFFF1 and #AFBDFF stays calm, while #FFC9AF is the loudest partner.

What is #afe5ff in CMYK for printing?

cmyk(31%, 10%, 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 #afe5ff warm or cool?

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

Work with #afe5ff in the Color Lab