Skip to content

#97acf8

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

RGB
151, 172, 248
HSL
227°, 87%, 78%
CMYK
39, 31, 0, 3
Luminance
0.4286

At a glance

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

Hex
#97acf8
Hue
227°
blue
Saturation
87%
electric
Lightness
78%
light
Brightness
97%
HSV value
Perceived
69%
weighted brightness
Luminance
0.4286
WCAG relative
Temperature
Cool
91/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
9.57:1
Closest name
Cornflower Blue
ΔE2000 9.4
Where it sits
Hue227° of 360°
Saturation87%
Lightness78%
Temperature
Warm ← → Cool91% 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#97acf8
RGBrgb(151, 172, 248)
HSLhsl(227, 87%, 78%)
CMYKcmyk(39%, 31%, 0%, 3%)
LABlab(71.5 11.1 -40.1)
LCHlch(71.5 41.6 285.5)
OKLCHoklch(0.758 0.112 271.7)
Decimal9940216
Display P3color(display-p3 0.592 0.675 0.973)

Copy-ready code

/* CSS */
color: #97acf8;
background-color: #97acf8;
/* Tailwind (arbitrary) */
class="text-[#97acf8] bg-[#97acf8]"
/* SCSS */
$brand: #97acf8;
/* SwiftUI */
Color(red: 0.592, green: 0.675, blue: 0.973)
/* Android */
Color.parseColor("#97acf8")
/* Flutter */
Color(0xFF97ACF8)
/* Python / OpenCV (BGR) */
(248, 172, 151)

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

Accessibility — WCAG contrast

Aa
#97acf8 on white: 2.19:1
AA ✗ fail · AA-large · AAA
Aa
#97acf8 on black: 9.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #92B3FB
deuteranopia · #8AABF6
tritanopia · #78BBC7

Color scale — 50 to 950

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

#F2F4FD
#E5EAFA
#C4CFF8
#97acf8
#6181F4
#2D57F1
#0F3EE5
#0D33BF
#0A2999
#0C216E
#071545
Base = 300Lightest = 50 · #F2F4FDDarkest = 950 · #071545
:root {
  --brand-50: #F2F4FD;
  --brand-100: #E5EAFA;
  --brand-200: #C4CFF8;
  --brand-300: #97acf8;
  --brand-400: #6181F4;
  --brand-500: #2D57F1;
  --brand-600: #0F3EE5;
  --brand-700: #0D33BF;
  --brand-800: #0A2999;
  --brand-900: #0C216E;
  --brand-950: #071545;
  --brand: #97acf8;
  --brand-ink: #000000;
}

Colors that work with #97acf8

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#F4F6FA
Tinted page background
Border#C0C9ED
Hairlines and dividers
Muted text#4B5C9B
Captions on the surface
Accent#C36C09
Second voice, not a rival
Dark variant#082077
Hover, pressed, headers
Light variant#E7ECFD
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 #97acf8

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#F8E397
Analogous left#97DCF8
Analogous right#B297F8
Split-complement 1#F8B297
Split-complement 2#DCF897
Triadic 1#F897AC
Triadic 2#ACF897
Tetradic#F897DC

RGB percentages

Red59.2%
Green67.5%
Blue97.3%

CMYK percentages

Cyan39.1%
Magenta30.6%
Yellow0.0%
Key (black)2.7%

Color previews

#97acf8 text on a black background

contrast 9.57:1

Card sample

#97acf8 text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #97acf8;
Background color
Panel with #97acf8 background
background-color: #97acf8;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #97acf8;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(151, 172, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(151, 172, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #97acf8;
background: linear-gradient(135deg, #97acf8, #C397F8);

Monochromatic scale

Palettes built from #97acf8

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.

#97acf8 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.

#97acf8, answered

What color is #97acf8?

#97acf8 is a light electric blue, closest to Cornflower Blue (ΔE2000 9.4). It sits at 227° on the hue wheel with 87% saturation and 78% lightness, which reads as cool.

What is the RGB value of #97acf8?

rgb(151, 172, 248) — 151 red, 172 green and 248 blue out of 255, or 59.2% / 67.5% / 97.3% by channel.

Is #97acf8 a light or a dark color?

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

Should I use black or white text on #97acf8?

Black. It scores 9.57:1 against #97acf8, versus 2.19:1 for white — AAA at any size.

What is the complementary color of #97acf8?

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

What colors go well with #97acf8?

For interface work: #F4F6FA as the surface, #C0C9ED for borders, #4B5C9B for secondary text, #C36C09 as an accent and #082077 for hover and pressed states. For a palette, the analogous pair #97DCF8 and #B297F8 stays calm, while #F8E397 is the loudest partner.

What is #97acf8 in CMYK for printing?

cmyk(39%, 31%, 0%, 3%). 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 #97acf8 warm or cool?

Cool — it scores 91 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A597F8; nudged cooler, #96BCF9.

Work with #97acf8 in the Color Lab