Skip to content

#9daffe

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

RGB
157, 175, 254
HSL
229°, 98%, 81%
CMYK
38, 31, 0, 0
Luminance
0.4498

At a glance

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

Hex
#9daffe
Hue
229°
blue
Saturation
98%
electric
Lightness
81%
light
Brightness
100%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4498
WCAG relative
Temperature
Cool
90/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
10.00:1
Closest name
Light Steel Blue
ΔE2000 9
Where it sits
Hue229° of 360°
Saturation98%
Lightness81%
Temperature
Warm ← → Cool90% 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#9daffe
RGBrgb(157, 175, 254)
HSLhsl(229, 98%, 81%)
CMYKcmyk(38%, 31%, 0%, 0%)
LABlab(72.9 12.6 -41.1)
LCHlch(72.9 43.0 287.1)
OKLCHoklch(0.771 0.115 273.6)
Decimal10334206
Display P3color(display-p3 0.616 0.686 0.996)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9daffe on white: 2.10:1
AA ✗ fail · AA-large · AAA
Aa
#9daffe on black: 10.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #95B7FF
deuteranopia · #8DAFFC
tritanopia · #7FBFCB

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #9daffe 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
#9daffe
#5877FD
#214AFD
#022FF2
#0227CA
#021FA2
#061A74
#041149
Base = 300Lightest = 50 · #F1F3FDDarkest = 950 · #041149
:root {
  --brand-50: #F1F3FD;
  --brand-100: #E3E8FC;
  --brand-200: #C1CBFB;
  --brand-300: #9daffe;
  --brand-400: #5877FD;
  --brand-500: #214AFD;
  --brand-600: #022FF2;
  --brand-700: #0227CA;
  --brand-800: #021FA2;
  --brand-900: #061A74;
  --brand-950: #041149;
  --brand: #9daffe;
  --brand-ink: #000000;
}

Colors that work with #9daffe

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#C0C8ED
Hairlines and dividers
Muted text#4B599B
Captions on the surface
Accent#CC7300
Second voice, not a rival
Dark variant#01187E
Hover, pressed, headers
Light variant#E6EAFF
Selected rows, tints
Dark surface#141724
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 #9daffe

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#FEEC9D
Analogous left#9DDFFE
Analogous right#BC9DFE
Split-complement 1#FEBC9D
Split-complement 2#DFFE9D
Triadic 1#FE9DAF
Triadic 2#AFFE9D
Tetradic#FE9DDF

RGB percentages

Red61.6%
Green68.6%
Blue99.6%

CMYK percentages

Cyan38.2%
Magenta31.1%
Yellow0.0%
Key (black)0.4%

Color previews

#9daffe text on a black background

contrast 10.00:1

Card sample

#9daffe text on a white background

contrast 2.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9daffe

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.

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

#9daffe, answered

What color is #9daffe?

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

What is the RGB value of #9daffe?

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

Is #9daffe a light or a dark color?

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

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

Black. It scores 10.00:1 against #9daffe, versus 2.10:1 for white — AAA at any size.

What is the complementary color of #9daffe?

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

What colors go well with #9daffe?

For interface work: #F4F5FA as the surface, #C0C8ED for borders, #4B599B for secondary text, #CC7300 as an accent and #01187E for hover and pressed states. For a palette, the analogous pair #9DDFFE and #BC9DFE stays calm, while #FEEC9D is the loudest partner.

What is #9daffe in CMYK for printing?

cmyk(38%, 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 #9daffe warm or cool?

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

Work with #9daffe in the Color Lab