#a2affc
a light, electric blue · cool · closest name: Light Steel Blue
At a glance
Every number on this page in one read: what #a2affc is made of, how bright it looks, and which way it leans.
Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #a2affc |
| RGB | rgb(162, 175, 252) |
| HSL | hsl(231, 94%, 81%) |
| CMYK | cmyk(36%, 31%, 0%, 1%) |
| LAB | lab(73.1 13.4 -39.6) |
| LCH | lch(73.1 41.8 288.7) |
| OKLCH | oklch(0.773 0.111 276.1) |
| Decimal | 10661884 |
| Display P3 | color(display-p3 0.635 0.686 0.988) |
Copy-ready code
/* CSS */
color: #a2affc;
background-color: #a2affc;
/* Tailwind (arbitrary) */
class="text-[#a2affc] bg-[#a2affc]"
/* SCSS */
$brand: #a2affc;
/* SwiftUI */
Color(red: 0.635, green: 0.686, blue: 0.988)
/* Android */
Color.parseColor("#a2affc")
/* Flutter */
Color(0xFFA2AFFC)
/* Python / OpenCV (BGR) */
(252, 175, 162)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #a2affc 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.
:root {
--brand-50: #F2F3FD;
--brand-100: #E4E7FB;
--brand-200: #C2CAFA;
--brand-300: #a2affc;
--brand-400: #5C73FA;
--brand-500: #2644F8;
--brand-600: #0829ED;
--brand-700: #0622C6;
--brand-800: #051B9E;
--brand-900: #081872;
--brand-950: #050F47;
--brand: #a2affc;
--brand-ink: #000000;
}Colors that work with #a2affc
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #a2affc
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠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 | #FCEFA2 | Directly opposite — maximum tension | |
| Analogous left | #A2DCFC | Neighbour, quieter | |
| Analogous right | #C2A2FC | Neighbour, quieter | |
| Split-complement 1 | #FCC2A2 | Contrast without the clash | |
| Split-complement 2 | #DCFCA2 | Contrast without the clash | |
| Triadic 1 | #FCA2AF | Even thirds — balanced and loud | |
| Triadic 2 | #AFFCA2 | Even thirds — balanced and loud | |
| Tetradic | #FCA2DC | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#a2affc text on a black background
contrast 10.07:1
#a2affc text on a white background
contrast 2.08:1
CSS3 live lab
The quick brown fox
color: #a2affc;
background-color: #a2affc;
Glowing headline
text-shadow: 2px 2px 8px #a2affc;
Soft neon halo
text-shadow: 0 0 14px rgba(162, 175, 252, 0.45);
box-shadow: 0 12px 32px -8px rgba(162, 175, 252, 0.45);
border: 3px solid #a2affc; background: linear-gradient(135deg, #a2affc, #D1A2FC);
Monochromatic scale
Palettes built from #a2affc
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.
Closest color with a full write-up: Periwinkle Blue (#8f99fb) — ΔE2000 6.2 away, with its history, psychology and brand usage.
#a2affc in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#a2affc, answered
What color is #a2affc?
#a2affc is a light electric blue, closest to Light Steel Blue (ΔE2000 8.9). It sits at 231° on the hue wheel with 94% saturation and 81% lightness, which reads as cool.
What is the RGB value of #a2affc?
rgb(162, 175, 252) — 162 red, 175 green and 252 blue out of 255, or 63.5% / 68.6% / 98.8% by channel.
Is #a2affc a light or a dark color?
It is a mid-tone. Relative luminance is 0.4537 and perceived brightness is 71%, so black text on it reaches 10.07:1.
Should I use black or white text on #a2affc?
Black. It scores 10.07:1 against #a2affc, versus 2.08:1 for white — AAA at any size.
What is the complementary color of #a2affc?
#FCEFA2 sits directly opposite on the wheel. Softer options are the split-complements #FCC2A2 and #DCFCA2, which give the same contrast with far less vibration.
What colors go well with #a2affc?
For interface work: #F4F5FA as the surface, #C0C6ED for borders, #4B569B for secondary text, #CA7B02 as an accent and #04157C for hover and pressed states. For a palette, the analogous pair #A2DCFC and #C2A2FC stays calm, while #FCEFA2 is the loudest partner.
What is #a2affc in CMYK for printing?
cmyk(36%, 31%, 0%, 1%). 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 #a2affc warm or cool?
Cool — it scores 88 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B6A2FC; nudged cooler, #A1C3FD.