Skip to content

#9da1fd

a light, electric blue · cool · closest name: Cornflower Blue

RGB
157, 161, 253
HSL
238°, 96%, 80%
CMYK
38, 36, 0, 1
Luminance
0.3975

At a glance

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

Hex
#9da1fd
Hue
238°
blue
Saturation
96%
electric
Lightness
80%
light
Brightness
99%
HSV value
Perceived
68%
weighted brightness
Luminance
0.3975
WCAG relative
Temperature
Cool
85/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
8.95:1
Closest name
Cornflower Blue
ΔE2000 10.7
Where it sits
Hue238° of 360°
Saturation96%
Lightness80%
Temperature
Warm ← → Cool85% 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#9da1fd
RGBrgb(157, 161, 253)
HSLhsl(238, 96%, 80%)
CMYKcmyk(38%, 36%, 0%, 1%)
LABlab(69.3 20.3 -46.2)
LCHlch(69.3 50.5 293.7)
OKLCHoklch(0.743 0.132 280.8)
Decimal10330621
Display P3color(display-p3 0.616 0.631 0.992)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9da1fd on white: 2.35:1
AA ✗ fail · AA-large · AAA
Aa
#9da1fd on black: 8.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #83ADFF
deuteranopia · #7DA6FB
tritanopia · #81B3C3

Color scale — 50 to 950

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

#F1F2FD
#E4E5FC
#C1C4FA
#9da1fd
#5A61FC
#232CFB
#050FF0
#040CC8
#030AA0
#070C73
#040748
Base = 300Lightest = 50 · #F1F2FDDarkest = 950 · #040748
:root {
  --brand-50: #F1F2FD;
  --brand-100: #E4E5FC;
  --brand-200: #C1C4FA;
  --brand-300: #9da1fd;
  --brand-400: #5A61FC;
  --brand-500: #232CFB;
  --brand-600: #050FF0;
  --brand-700: #040CC8;
  --brand-800: #030AA0;
  --brand-900: #070C73;
  --brand-950: #040748;
  --brand: #9da1fd;
  --brand-ink: #000000;
}

Colors that work with #9da1fd

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#C0C2ED
Hairlines and dividers
Muted text#4B4E9B
Captions on the surface
Accent#CC9100
Second voice, not a rival
Dark variant#03087D
Hover, pressed, headers
Light variant#E6E7FE
Selected rows, tints
Dark surface#141424
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 #9da1fd

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#FDF99D
Analogous left#9DD1FD
Analogous right#C99DFD
Split-complement 1#FDC99D
Split-complement 2#D1FD9D
Triadic 1#FD9DA1
Triadic 2#A1FD9D
Tetradic#FD9DD1

RGB percentages

Red61.6%
Green63.1%
Blue99.2%

CMYK percentages

Cyan37.9%
Magenta36.4%
Yellow0.0%
Key (black)0.8%

Color previews

#9da1fd text on a black background

contrast 8.95:1

Card sample

#9da1fd text on a white background

contrast 2.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9da1fd

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.

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

#9da1fd, answered

What color is #9da1fd?

#9da1fd is a light electric blue, closest to Cornflower Blue (ΔE2000 10.7). It sits at 238° on the hue wheel with 96% saturation and 80% lightness, which reads as cool.

What is the RGB value of #9da1fd?

rgb(157, 161, 253) — 157 red, 161 green and 253 blue out of 255, or 61.6% / 63.1% / 99.2% by channel.

Is #9da1fd a light or a dark color?

It is a mid-tone. Relative luminance is 0.3975 and perceived brightness is 68%, so black text on it reaches 8.95:1.

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

Black. It scores 8.95:1 against #9da1fd, versus 2.35:1 for white — AAA at any size.

What is the complementary color of #9da1fd?

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

What colors go well with #9da1fd?

For interface work: #F4F5FA as the surface, #C0C2ED for borders, #4B4E9B for secondary text, #CC9100 as an accent and #03087D for hover and pressed states. For a palette, the analogous pair #9DD1FD and #C99DFD stays calm, while #FDF99D is the loudest partner.

What is #9da1fd in CMYK for printing?

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

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

Work with #9da1fd in the Color Lab