Skip to content

#9da2f3

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

RGB
157, 162, 243
HSL
237°, 78%, 78%
CMYK
35, 33, 0, 5
Luminance
0.3948

At a glance

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

Hex
#9da2f3
Hue
237°
blue
Saturation
78%
electric
Lightness
78%
light
Brightness
95%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3948
WCAG relative
Temperature
Cool
85/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
8.90:1
Closest name
Cornflower Blue
ΔE2000 10.9
Where it sits
Hue237° of 360°
Saturation78%
Lightness78%
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#9da2f3
RGBrgb(157, 162, 243)
HSLhsl(237, 78%, 78%)
CMYKcmyk(35%, 33%, 0%, 5%)
LABlab(69.1 17.0 -41.1)
LCHlch(69.1 44.5 292.5)
OKLCHoklch(0.740 0.117 280.4)
Decimal10330867
Display P3color(display-p3 0.616 0.635 0.953)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9da2f3 on white: 2.36:1
AA ✗ fail · AA-large · AAA
Aa
#9da2f3 on black: 8.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #88ACF6
deuteranopia · #84A6F1
tritanopia · #85B1BF

Color scale — 50 to 950

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

#F3F3FC
#E6E7F9
#C7CAF5
#9da2f3
#6971ED
#3741E7
#1B26DA
#1620B6
#121991
#111669
#0B0E42
Base = 300Lightest = 50 · #F3F3FCDarkest = 950 · #0B0E42
:root {
  --brand-50: #F3F3FC;
  --brand-100: #E6E7F9;
  --brand-200: #C7CAF5;
  --brand-300: #9da2f3;
  --brand-400: #6971ED;
  --brand-500: #3741E7;
  --brand-600: #1B26DA;
  --brand-700: #1620B6;
  --brand-800: #121991;
  --brand-900: #111669;
  --brand-950: #0B0E42;
  --brand: #9da2f3;
  --brand-ink: #000000;
}

Colors that work with #9da2f3

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#4B4F9B
Captions on the surface
Accent#B98513
Second voice, not a rival
Dark variant#0E1472
Hover, pressed, headers
Light variant#E8E9FC
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 #9da2f3

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#F3EE9D
Analogous left#9DCDF3
Analogous right#C39DF3
Split-complement 1#F3C39D
Split-complement 2#CDF39D
Triadic 1#F39DA2
Triadic 2#A2F39D
Tetradic#F39DCD

RGB percentages

Red61.6%
Green63.5%
Blue95.3%

CMYK percentages

Cyan35.4%
Magenta33.3%
Yellow0.0%
Key (black)4.7%

Color previews

#9da2f3 text on a black background

contrast 8.90:1

Card sample

#9da2f3 text on a white background

contrast 2.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9da2f3

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.

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

#9da2f3, answered

What color is #9da2f3?

#9da2f3 is a light electric blue, closest to Cornflower Blue (ΔE2000 10.9). It sits at 237° on the hue wheel with 78% saturation and 78% lightness, which reads as cool.

What is the RGB value of #9da2f3?

rgb(157, 162, 243) — 157 red, 162 green and 243 blue out of 255, or 61.6% / 63.5% / 95.3% by channel.

Is #9da2f3 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3948 and perceived brightness is 67%, so black text on it reaches 8.90:1.

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

Black. It scores 8.90:1 against #9da2f3, versus 2.36:1 for white — AAA at any size.

What is the complementary color of #9da2f3?

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

What colors go well with #9da2f3?

For interface work: #F4F5FA as the surface, #C0C2ED for borders, #4B4F9B for secondary text, #B98513 as an accent and #0E1472 for hover and pressed states. For a palette, the analogous pair #9DCDF3 and #C39DF3 stays calm, while #F3EE9D is the loudest partner.

What is #9da2f3 in CMYK for printing?

cmyk(35%, 33%, 0%, 5%). 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 #9da2f3 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 #B79DF3; nudged cooler, #9CBAF4.

Work with #9da2f3 in the Color Lab