Skip to content

#afe3f7

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

RGB
175, 227, 247
HSL
197°, 82%, 83%
CMYK
29, 8, 0, 3
Luminance
0.7077

At a glance

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

Hex
#afe3f7
Hue
197°
cyan
Saturation
82%
electric
Lightness
83%
light
Brightness
97%
HSV value
Perceived
84%
weighted brightness
Luminance
0.7077
WCAG relative
Temperature
Cool
94/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
15.15:1
Closest name
Light Blue
ΔE2000 3.2
Where it sits
Hue197° of 360°
Saturation82%
Lightness83%
Temperature
Warm ← → Cool94% 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#afe3f7
RGBrgb(175, 227, 247)
HSLhsl(197, 82%, 83%)
CMYKcmyk(29%, 8%, 0%, 3%)
LABlab(87.4 -12.1 -15.1)
LCHlch(87.4 19.4 231.4)
OKLCHoklch(0.886 0.060 223.5)
Decimal11527159
Display P3color(display-p3 0.686 0.890 0.969)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afe3f7 on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#afe3f7 on black: 15.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D8E0F8
deuteranopia · #CCD7F7
tritanopia · #98E9E9

Color scale — 50 to 950

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

#F2FAFC
#E6F4F9
#afe3f7
#99DBF5
#66C9F0
#33B7EB
#16A7DF
#138BB9
#0F6F94
#0F526B
#093343
Base = 200Lightest = 50 · #F2FAFCDarkest = 950 · #093343
:root {
  --brand-50: #F2FAFC;
  --brand-100: #E6F4F9;
  --brand-200: #afe3f7;
  --brand-300: #99DBF5;
  --brand-400: #66C9F0;
  --brand-500: #33B7EB;
  --brand-600: #16A7DF;
  --brand-700: #138BB9;
  --brand-800: #0F6F94;
  --brand-900: #0F526B;
  --brand-950: #093343;
  --brand: #afe3f7;
  --brand-ink: #000000;
}

Colors that work with #afe3f7

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#F4F9FA
Tinted page background
Border#C0E0ED
Hairlines and dividers
Muted text#4B859B
Captions on the surface
Accent#BE130E
Second voice, not a rival
Dark variant#0C5774
Hover, pressed, headers
Light variant#E8F7FD
Selected rows, tints
Dark surface#142024
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 #afe3f7

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#F7C3AF
Analogous left#AFF7E7
Analogous right#AFBFF7
Split-complement 1#F7AFBF
Split-complement 2#F7E7AF
Triadic 1#F7AFE3
Triadic 2#E3F7AF
Tetradic#E7AFF7

RGB percentages

Red68.6%
Green89.0%
Blue96.9%

CMYK percentages

Cyan29.1%
Magenta8.1%
Yellow0.0%
Key (black)3.1%

Color previews

#afe3f7 text on a black background

contrast 15.15:1

Card sample

#afe3f7 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afe3f7

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.

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

#afe3f7, answered

What color is #afe3f7?

#afe3f7 is a light electric cyan, closest to Light Blue (ΔE2000 3.2). It sits at 197° on the hue wheel with 82% saturation and 83% lightness, which reads as cool.

What is the RGB value of #afe3f7?

rgb(175, 227, 247) — 175 red, 227 green and 247 blue out of 255, or 68.6% / 89% / 96.9% by channel.

Is #afe3f7 a light or a dark color?

It is a light color. Relative luminance is 0.7077 and perceived brightness is 84%, so black text on it reaches 15.15:1.

Should I use black or white text on #afe3f7?

Black. It scores 15.15:1 against #afe3f7, versus 1.39:1 for white — AAA at any size.

What is the complementary color of #afe3f7?

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

What colors go well with #afe3f7?

For interface work: #F4F9FA as the surface, #C0E0ED for borders, #4B859B for secondary text, #BE130E as an accent and #0C5774 for hover and pressed states. For a palette, the analogous pair #AFF7E7 and #AFBFF7 stays calm, while #F7C3AF is the loudest partner.

What is #afe3f7 in CMYK for printing?

cmyk(29%, 8%, 0%, 3%). 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 #afe3f7 warm or cool?

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

Work with #afe3f7 in the Color Lab