Skip to content

#9da7fa

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

RGB
157, 167, 250
HSL
234°, 90%, 80%
CMYK
37, 33, 0, 2
Luminance
0.4171

At a glance

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

Hex
#9da7fa
Hue
234°
blue
Saturation
90%
electric
Lightness
80%
light
Brightness
98%
HSV value
Perceived
69%
weighted brightness
Luminance
0.4171
WCAG relative
Temperature
Cool
87/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
9.34:1
Closest name
Light Steel Blue
ΔE2000 10
Where it sits
Hue234° of 360°
Saturation90%
Lightness80%
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#9da7fa
RGBrgb(157, 167, 250)
HSLhsl(234, 90%, 80%)
CMYKcmyk(37%, 33%, 0%, 2%)
LABlab(70.7 16.1 -42.4)
LCHlch(70.7 45.4 290.7)
OKLCHoklch(0.753 0.120 277.9)
Decimal10332154
Display P3color(display-p3 0.616 0.655 0.980)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9da7fa on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#9da7fa on black: 9.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8CB1FD
deuteranopia · #86AAF8
tritanopia · #82B7C5

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #9da7fa 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
#E5E7FB
#C3C9F8
#9da7fa
#5F6FF7
#293FF4
#0C24E9
#0A1EC2
#08189B
#0A1570
#060D46
Base = 300Lightest = 50 · #F2F3FDDarkest = 950 · #060D46
:root {
  --brand-50: #F2F3FD;
  --brand-100: #E5E7FB;
  --brand-200: #C3C9F8;
  --brand-300: #9da7fa;
  --brand-400: #5F6FF7;
  --brand-500: #293FF4;
  --brand-600: #0C24E9;
  --brand-700: #0A1EC2;
  --brand-800: #08189B;
  --brand-900: #0A1570;
  --brand-950: #060D46;
  --brand: #9da7fa;
  --brand-ink: #000000;
}

Colors that work with #9da7fa

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#C0C5ED
Hairlines and dividers
Muted text#4B539B
Captions on the surface
Accent#C68106
Second voice, not a rival
Dark variant#061379
Hover, pressed, headers
Light variant#E7E9FE
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 #9da7fa

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#FAF09D
Analogous left#9DD6FA
Analogous right#C19DFA
Split-complement 1#FAC19D
Split-complement 2#D6FA9D
Triadic 1#FA9DA7
Triadic 2#A7FA9D
Tetradic#FA9DD6

RGB percentages

Red61.6%
Green65.5%
Blue98.0%

CMYK percentages

Cyan37.2%
Magenta33.2%
Yellow0.0%
Key (black)2.0%

Color previews

#9da7fa text on a black background

contrast 9.34:1

Card sample

#9da7fa text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9da7fa

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.

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

#9da7fa, answered

What color is #9da7fa?

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

What is the RGB value of #9da7fa?

rgb(157, 167, 250) — 157 red, 167 green and 250 blue out of 255, or 61.6% / 65.5% / 98% by channel.

Is #9da7fa a light or a dark color?

It is a mid-tone. Relative luminance is 0.4171 and perceived brightness is 69%, so black text on it reaches 9.34:1.

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

Black. It scores 9.34:1 against #9da7fa, versus 2.25:1 for white — AAA at any size.

What is the complementary color of #9da7fa?

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

What colors go well with #9da7fa?

For interface work: #F4F5FA as the surface, #C0C5ED for borders, #4B539B for secondary text, #C68106 as an accent and #061379 for hover and pressed states. For a palette, the analogous pair #9DD6FA and #C19DFA stays calm, while #FAF09D is the loudest partner.

What is #9da7fa in CMYK for printing?

cmyk(37%, 33%, 0%, 2%). 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 #9da7fa 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 #B59DFA; nudged cooler, #9CBEFB.

Work with #9da7fa in the Color Lab