Skip to content

#a2acf7

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

RGB
162, 172, 247
HSL
233°, 84%, 80%
CMYK
34, 30, 0, 3
Luminance
0.4390

At a glance

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

Hex
#a2acf7
Hue
233°
blue
Saturation
84%
electric
Lightness
80%
light
Brightness
97%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4390
WCAG relative
Temperature
Cool
87/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
9.78:1
Closest name
Light Steel Blue
ΔE2000 9.3
Where it sits
Hue233° of 360°
Saturation84%
Lightness80%
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#a2acf7
RGBrgb(162, 172, 247)
HSLhsl(233, 84%, 80%)
CMYKcmyk(34%, 30%, 0%, 3%)
LABlab(72.2 13.8 -38.4)
LCHlch(72.2 40.8 289.7)
OKLCHoklch(0.765 0.108 277.7)
Decimal10661111
Display P3color(display-p3 0.635 0.675 0.969)

Copy-ready code

/* CSS */
color: #a2acf7;
background-color: #a2acf7;
/* Tailwind (arbitrary) */
class="text-[#a2acf7] bg-[#a2acf7]"
/* SCSS */
$brand: #a2acf7;
/* SwiftUI */
Color(red: 0.635, green: 0.675, blue: 0.969)
/* Android */
Color.parseColor("#a2acf7")
/* Flutter */
Color(0xFFA2ACF7)
/* Python / OpenCV (BGR) */
(247, 172, 162)

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

Accessibility — WCAG contrast

Aa
#a2acf7 on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#a2acf7 on black: 9.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #95B4FA
deuteranopia · #8FAEF5
tritanopia · #8ABAC7

Color scale — 50 to 950

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

#F2F3FC
#E6E8FA
#C5CBF6
#a2acf7
#6475F2
#3047ED
#132CE1
#1024BC
#0D1D96
#0E196D
#091044
Base = 300Lightest = 50 · #F2F3FCDarkest = 950 · #091044
:root {
  --brand-50: #F2F3FC;
  --brand-100: #E6E8FA;
  --brand-200: #C5CBF6;
  --brand-300: #a2acf7;
  --brand-400: #6475F2;
  --brand-500: #3047ED;
  --brand-600: #132CE1;
  --brand-700: #1024BC;
  --brand-800: #0D1D96;
  --brand-900: #0E196D;
  --brand-950: #091044;
  --brand: #a2acf7;
  --brand-ink: #000000;
}

Colors that work with #a2acf7

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#C0C5ED
Hairlines and dividers
Muted text#4B549B
Captions on the surface
Accent#C07D0C
Second voice, not a rival
Dark variant#0A1775
Hover, pressed, headers
Light variant#E8EAFD
Selected rows, tints
Dark surface#141624
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 #a2acf7

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#F7EDA2
Analogous left#A2D7F7
Analogous right#C2A2F7
Split-complement 1#F7C2A2
Split-complement 2#D7F7A2
Triadic 1#F7A2AC
Triadic 2#ACF7A2
Tetradic#F7A2D7

RGB percentages

Red63.5%
Green67.5%
Blue96.9%

CMYK percentages

Cyan34.4%
Magenta30.4%
Yellow0.0%
Key (black)3.1%

Color previews

#a2acf7 text on a black background

contrast 9.78:1

Card sample

#a2acf7 text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2acf7

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.

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

#a2acf7, answered

What color is #a2acf7?

#a2acf7 is a light electric blue, closest to Light Steel Blue (ΔE2000 9.3). It sits at 233° on the hue wheel with 84% saturation and 80% lightness, which reads as cool.

What is the RGB value of #a2acf7?

rgb(162, 172, 247) — 162 red, 172 green and 247 blue out of 255, or 63.5% / 67.5% / 96.9% by channel.

Is #a2acf7 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4390 and perceived brightness is 70%, so black text on it reaches 9.78:1.

Should I use black or white text on #a2acf7?

Black. It scores 9.78:1 against #a2acf7, versus 2.15:1 for white — AAA at any size.

What is the complementary color of #a2acf7?

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

What colors go well with #a2acf7?

For interface work: #F4F5FA as the surface, #C0C5ED for borders, #4B549B for secondary text, #C07D0C as an accent and #0A1775 for hover and pressed states. For a palette, the analogous pair #A2D7F7 and #C2A2F7 stays calm, while #F7EDA2 is the loudest partner.

What is #a2acf7 in CMYK for printing?

cmyk(34%, 30%, 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 #a2acf7 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 #B7A2F7; nudged cooler, #A1C1F8.

Work with #a2acf7 in the Color Lab