Skip to content

#a2abfe

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

RGB
162, 171, 254
HSL
234°, 98%, 82%
CMYK
36, 33, 0, 0
Luminance
0.4396

At a glance

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

Hex
#a2abfe
Hue
234°
blue
Saturation
98%
electric
Lightness
82%
light
Brightness
100%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4396
WCAG relative
Temperature
Cool
87/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
9.79:1
Closest name
Light Steel Blue
ΔE2000 9.4
Where it sits
Hue234° of 360°
Saturation98%
Lightness82%
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#a2abfe
RGBrgb(162, 171, 254)
HSLhsl(234, 98%, 82%)
CMYKcmyk(36%, 33%, 0%, 0%)
LABlab(72.2 16.2 -42.2)
LCHlch(72.2 45.2 291.0)
OKLCHoklch(0.766 0.119 278.4)
Decimal10660862
Display P3color(display-p3 0.635 0.671 0.996)

Copy-ready code

/* CSS */
color: #a2abfe;
background-color: #a2abfe;
/* Tailwind (arbitrary) */
class="text-[#a2abfe] bg-[#a2abfe]"
/* SCSS */
$brand: #a2abfe;
/* SwiftUI */
Color(red: 0.635, green: 0.671, blue: 0.996)
/* Android */
Color.parseColor("#a2abfe")
/* Flutter */
Color(0xFFA2ABFE)
/* Python / OpenCV (BGR) */
(254, 171, 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 #a2abfe · 9.79:1
Use #000000AAA at every size.
Aa
White text · 2.14:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.79:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #a2abfe as text scores 2.14:1 on white and 9.79:1 on black.

Accessibility — WCAG contrast

Aa
#a2abfe on white: 2.14:1
AA ✗ fail · AA-large · AAA
Aa
#a2abfe on black: 9.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #90B5FF
deuteranopia · #8BAEFC
tritanopia · #88BBC9

Color scale — 50 to 950

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

#F1F2FD
#E3E6FC
#C1C6FB
#a2abfe
#5869FD
#2137FD
#031AF2
#0216CA
#0211A1
#061174
#040B49
Base = 300Lightest = 50 · #F1F2FDDarkest = 950 · #040B49
:root {
  --brand-50: #F1F2FD;
  --brand-100: #E3E6FC;
  --brand-200: #C1C6FB;
  --brand-300: #a2abfe;
  --brand-400: #5869FD;
  --brand-500: #2137FD;
  --brand-600: #031AF2;
  --brand-700: #0216CA;
  --brand-800: #0211A1;
  --brand-900: #061174;
  --brand-950: #040B49;
  --brand: #a2abfe;
  --brand-ink: #000000;
}

Colors that work with #a2abfe

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#C0C4ED
Hairlines and dividers
Muted text#4B529B
Captions on the surface
Accent#CC8400
Second voice, not a rival
Dark variant#010E7E
Hover, pressed, headers
Light variant#E6E8FF
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 #a2abfe

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#FEF5A2
Analogous left#A2D9FE
Analogous right#C7A2FE
Split-complement 1#FEC7A2
Split-complement 2#D9FEA2
Triadic 1#FEA2AB
Triadic 2#ABFEA2
Tetradic#FEA2D9

RGB percentages

Red63.5%
Green67.1%
Blue99.6%

CMYK percentages

Cyan36.2%
Magenta32.7%
Yellow0.0%
Key (black)0.4%

Color previews

#a2abfe text on a black background

contrast 9.79:1

Card sample

#a2abfe text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2abfe

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.

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

#a2abfe, answered

What color is #a2abfe?

#a2abfe is a light electric blue, closest to Light Steel Blue (ΔE2000 9.4). It sits at 234° on the hue wheel with 98% saturation and 82% lightness, which reads as cool.

What is the RGB value of #a2abfe?

rgb(162, 171, 254) — 162 red, 171 green and 254 blue out of 255, or 63.5% / 67.1% / 99.6% by channel.

Is #a2abfe a light or a dark color?

It is a mid-tone. Relative luminance is 0.4396 and perceived brightness is 71%, so black text on it reaches 9.79:1.

Should I use black or white text on #a2abfe?

Black. It scores 9.79:1 against #a2abfe, versus 2.14:1 for white — AAA at any size.

What is the complementary color of #a2abfe?

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

What colors go well with #a2abfe?

For interface work: #F4F5FA as the surface, #C0C4ED for borders, #4B529B for secondary text, #CC8400 as an accent and #010E7E for hover and pressed states. For a palette, the analogous pair #A2D9FE and #C7A2FE stays calm, while #FEF5A2 is the loudest partner.

What is #a2abfe in CMYK for printing?

cmyk(36%, 33%, 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 #a2abfe 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 #BBA2FE; nudged cooler, #A1C2FF.

Work with #a2abfe in the Color Lab