Skip to content

#9faffe

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

RGB
159, 175, 254
HSL
230°, 98%, 81%
CMYK
37, 31, 0, 0
Luminance
0.4519

At a glance

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

Hex
#9faffe
Hue
230°
blue
Saturation
98%
electric
Lightness
81%
light
Brightness
100%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4519
WCAG relative
Temperature
Cool
89/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
10.04:1
Closest name
Light Steel Blue
ΔE2000 8.9
Where it sits
Hue230° of 360°
Saturation98%
Lightness81%
Temperature
Warm ← → Cool89% 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#9faffe
RGBrgb(159, 175, 254)
HSLhsl(230, 98%, 81%)
CMYKcmyk(37%, 31%, 0%, 0%)
LABlab(73.0 13.1 -40.9)
LCHlch(73.0 43.0 287.8)
OKLCHoklch(0.772 0.115 274.6)
Decimal10465278
Display P3color(display-p3 0.624 0.686 0.996)

Copy-ready code

/* CSS */
color: #9faffe;
background-color: #9faffe;
/* Tailwind (arbitrary) */
class="text-[#9faffe] bg-[#9faffe]"
/* SCSS */
$brand: #9faffe;
/* SwiftUI */
Color(red: 0.624, green: 0.686, blue: 0.996)
/* Android */
Color.parseColor("#9faffe")
/* Flutter */
Color(0xFF9FAFFE)
/* Python / OpenCV (BGR) */
(254, 175, 159)

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

Accessibility — WCAG contrast

Aa
#9faffe on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#9faffe on black: 10.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #95B7FF
deuteranopia · #8EB0FC
tritanopia · #83BFCB

Color scale — 50 to 950

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

#F1F3FD
#E3E8FC
#C1CBFB
#9faffe
#5874FD
#2146FD
#032BF2
#0224CA
#021DA1
#061974
#040F49
Base = 300Lightest = 50 · #F1F3FDDarkest = 950 · #040F49
:root {
  --brand-50: #F1F3FD;
  --brand-100: #E3E8FC;
  --brand-200: #C1CBFB;
  --brand-300: #9faffe;
  --brand-400: #5874FD;
  --brand-500: #2146FD;
  --brand-600: #032BF2;
  --brand-700: #0224CA;
  --brand-800: #021DA1;
  --brand-900: #061974;
  --brand-950: #040F49;
  --brand: #9faffe;
  --brand-ink: #000000;
}

Colors that work with #9faffe

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#C0C7ED
Hairlines and dividers
Muted text#4B589B
Captions on the surface
Accent#CC7600
Second voice, not a rival
Dark variant#01167E
Hover, pressed, headers
Light variant#E6EAFF
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 #9faffe

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#FEEE9F
Analogous left#9FDFFE
Analogous right#BF9FFE
Split-complement 1#FEBF9F
Split-complement 2#DFFE9F
Triadic 1#FE9FAF
Triadic 2#AFFE9F
Tetradic#FE9FDF

RGB percentages

Red62.4%
Green68.6%
Blue99.6%

CMYK percentages

Cyan37.4%
Magenta31.1%
Yellow0.0%
Key (black)0.4%

Color previews

#9faffe text on a black background

contrast 10.04:1

Card sample

#9faffe text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(159, 175, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(159, 175, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9faffe;
background: linear-gradient(135deg, #9faffe, #CE9FFE);

Monochromatic scale

Palettes built from #9faffe

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.

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

#9faffe, answered

What color is #9faffe?

#9faffe is a light electric blue, closest to Light Steel Blue (ΔE2000 8.9). It sits at 230° on the hue wheel with 98% saturation and 81% lightness, which reads as cool.

What is the RGB value of #9faffe?

rgb(159, 175, 254) — 159 red, 175 green and 254 blue out of 255, or 62.4% / 68.6% / 99.6% by channel.

Is #9faffe a light or a dark color?

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

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

Black. It scores 10.04:1 against #9faffe, versus 2.09:1 for white — AAA at any size.

What is the complementary color of #9faffe?

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

What colors go well with #9faffe?

For interface work: #F4F5FA as the surface, #C0C7ED for borders, #4B589B for secondary text, #CC7600 as an accent and #01167E for hover and pressed states. For a palette, the analogous pair #9FDFFE and #BF9FFE stays calm, while #FEEE9F is the loudest partner.

What is #9faffe in CMYK for printing?

cmyk(37%, 31%, 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 #9faffe warm or cool?

Cool — it scores 89 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B29FFE; nudged cooler, #9EC2FF.

Work with #9faffe in the Color Lab