Skip to content

#9dabfc

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

RGB
157, 171, 252
HSL
231°, 94%, 80%
CMYK
38, 32, 0, 1
Luminance
0.4332

At a glance

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

Hex
#9dabfc
Hue
231°
blue
Saturation
94%
electric
Lightness
80%
light
Brightness
99%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4332
WCAG relative
Temperature
Cool
88/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
9.66:1
Closest name
Light Steel Blue
ΔE2000 9.5
Where it sits
Hue231° of 360°
Saturation94%
Lightness80%
Temperature
Warm ← → Cool88% 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#9dabfc
RGBrgb(157, 171, 252)
HSLhsl(231, 94%, 80%)
CMYKcmyk(38%, 32%, 0%, 1%)
LABlab(71.8 14.3 -41.8)
LCHlch(71.8 44.2 288.9)
OKLCHoklch(0.762 0.117 275.8)
Decimal10333180
Display P3color(display-p3 0.616 0.671 0.988)

Copy-ready code

/* CSS */
color: #9dabfc;
background-color: #9dabfc;
/* Tailwind (arbitrary) */
class="text-[#9dabfc] bg-[#9dabfc]"
/* SCSS */
$brand: #9dabfc;
/* SwiftUI */
Color(red: 0.616, green: 0.671, blue: 0.988)
/* Android */
Color.parseColor("#9dabfc")
/* Flutter */
Color(0xFF9DABFC)
/* Python / OpenCV (BGR) */
(252, 171, 157)

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

Accessibility — WCAG contrast

Aa
#9dabfc on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#9dabfc on black: 9.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #90B4FF
deuteranopia · #8AACFA
tritanopia · #81BBC8

Color scale — 50 to 950

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

#F2F3FD
#E4E7FB
#C2CAFA
#9dabfc
#5C73FA
#2544F8
#0729EE
#0622C6
#051B9E
#081872
#050F47
Base = 300Lightest = 50 · #F2F3FDDarkest = 950 · #050F47
:root {
  --brand-50: #F2F3FD;
  --brand-100: #E4E7FB;
  --brand-200: #C2CAFA;
  --brand-300: #9dabfc;
  --brand-400: #5C73FA;
  --brand-500: #2544F8;
  --brand-600: #0729EE;
  --brand-700: #0622C6;
  --brand-800: #051B9E;
  --brand-900: #081872;
  --brand-950: #050F47;
  --brand: #9dabfc;
  --brand-ink: #000000;
}

Colors that work with #9dabfc

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#C0C6ED
Hairlines and dividers
Muted text#4B569B
Captions on the surface
Accent#CA7B02
Second voice, not a rival
Dark variant#04157C
Hover, pressed, headers
Light variant#E6EAFE
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 #9dabfc

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#FCEE9D
Analogous left#9DDAFC
Analogous right#BF9DFC
Split-complement 1#FCBF9D
Split-complement 2#DAFC9D
Triadic 1#FC9DAB
Triadic 2#ABFC9D
Tetradic#FC9DDA

RGB percentages

Red61.6%
Green67.1%
Blue98.8%

CMYK percentages

Cyan37.7%
Magenta32.1%
Yellow0.0%
Key (black)1.2%

Color previews

#9dabfc text on a black background

contrast 9.66:1

Card sample

#9dabfc text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(157, 171, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(157, 171, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9dabfc;
background: linear-gradient(135deg, #9dabfc, #CE9DFC);

Monochromatic scale

Palettes built from #9dabfc

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.

#9dabfc 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.

#9dabfc, answered

What color is #9dabfc?

#9dabfc is a light electric blue, closest to Light Steel Blue (ΔE2000 9.5). It sits at 231° on the hue wheel with 94% saturation and 80% lightness, which reads as cool.

What is the RGB value of #9dabfc?

rgb(157, 171, 252) — 157 red, 171 green and 252 blue out of 255, or 61.6% / 67.1% / 98.8% by channel.

Is #9dabfc a light or a dark color?

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

Should I use black or white text on #9dabfc?

Black. It scores 9.66:1 against #9dabfc, versus 2.17:1 for white — AAA at any size.

What is the complementary color of #9dabfc?

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

What colors go well with #9dabfc?

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 #9DDAFC and #BF9DFC stays calm, while #FCEE9D is the loudest partner.

What is #9dabfc in CMYK for printing?

cmyk(38%, 32%, 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 #9dabfc 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 #B29DFC; nudged cooler, #9CBFFD.

Work with #9dabfc in the Color Lab