Skip to content

#5697fd

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

RGB
86, 151, 253
HSL
217°, 98%, 67%
CMYK
66, 40, 0, 1
Luminance
0.3120

At a glance

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

Hex
#5697fd
Hue
217°
blue
Saturation
98%
electric
Lightness
67%
light
Brightness
99%
HSV value
Perceived
59%
weighted brightness
Luminance
0.3120
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
7.24:1
Closest name
Cornflower Blue
ΔE2000 2.3
Where it sits
Hue217° of 360°
Saturation98%
Lightness67%
Temperature
Warm ← → Cool96% 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#5697fd
RGBrgb(86, 151, 253)
HSLhsl(217, 98%, 67%)
CMYKcmyk(66%, 40%, 0%, 1%)
LABlab(62.7 11.0 -56.9)
LCHlch(62.7 58.0 280.9)
OKLCHoklch(0.681 0.165 259.1)
Decimal5675005
Display P3color(display-p3 0.337 0.592 0.992)

Copy-ready code

/* CSS */
color: #5697fd;
background-color: #5697fd;
/* Tailwind (arbitrary) */
class="text-[#5697fd] bg-[#5697fd]"
/* SCSS */
$brand: #5697fd;
/* SwiftUI */
Color(red: 0.337, green: 0.592, blue: 0.992)
/* Android */
Color.parseColor("#5697fd")
/* Flutter */
Color(0xFF5697FD)
/* Python / OpenCV (BGR) */
(253, 151, 86)

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

Accessibility — WCAG contrast

Aa
#5697fd on white: 2.90:1
AA ✗ fail · AA-large · AAA
Aa
#5697fd on black: 7.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #68A0FF
deuteranopia · #4E90FB
tritanopia · #00AEBE

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #5697fd is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F1F6FD
#E4EDFC
#C1D7FB
#90BBFE
#5697fd
#2177FC
#0360F2
#0250CA
#0240A1
#063174
#041F49
Base = 400Lightest = 50 · #F1F6FDDarkest = 950 · #041F49
:root {
  --brand-50: #F1F6FD;
  --brand-100: #E4EDFC;
  --brand-200: #C1D7FB;
  --brand-300: #90BBFE;
  --brand-400: #5697fd;
  --brand-500: #2177FC;
  --brand-600: #0360F2;
  --brand-700: #0250CA;
  --brand-800: #0240A1;
  --brand-900: #063174;
  --brand-950: #041F49;
  --brand: #5697fd;
  --brand-ink: #000000;
}

Colors that work with #5697fd

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#F4F7FA
Tinted page background
Border#C0D1ED
Hairlines and dividers
Muted text#4B6A9B
Captions on the surface
Accent#CC4A00
Second voice, not a rival
Dark variant#01327E
Hover, pressed, headers
Light variant#E6F0FF
Selected rows, tints
Dark surface#141A24
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 #5697fd

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#FDBC56
Analogous left#56EBFD
Analogous right#6856FD
Split-complement 1#FD6856
Split-complement 2#EBFD56
Triadic 1#FD5697
Triadic 2#97FD56
Tetradic#FD56EB

RGB percentages

Red33.7%
Green59.2%
Blue99.2%

CMYK percentages

Cyan66.0%
Magenta40.3%
Yellow0.0%
Key (black)0.8%

Color previews

#5697fd text on a black background

contrast 7.24:1

Card sample

#5697fd text on a white background

contrast 2.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5697fd;
Background color
Panel with #5697fd background
background-color: #5697fd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5697fd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(86, 151, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 151, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5697fd;
background: linear-gradient(135deg, #5697fd, #8456FD);

Monochromatic scale

Palettes built from #5697fd

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.

#5697fd 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.

#5697fd, answered

What color is #5697fd?

#5697fd is a light electric blue, closest to Cornflower Blue (ΔE2000 2.3). It sits at 217° on the hue wheel with 98% saturation and 67% lightness, which reads as cool.

What is the RGB value of #5697fd?

rgb(86, 151, 253) — 86 red, 151 green and 253 blue out of 255, or 33.7% / 59.2% / 99.2% by channel.

Is #5697fd a light or a dark color?

It is a mid-tone. Relative luminance is 0.3120 and perceived brightness is 59%, so black text on it reaches 7.24:1.

Should I use black or white text on #5697fd?

Black. It scores 7.24:1 against #5697fd, versus 2.90:1 for white — AAA at any size.

What is the complementary color of #5697fd?

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

What colors go well with #5697fd?

For interface work: #F4F7FA as the surface, #C0D1ED for borders, #4B6A9B for secondary text, #CC4A00 as an accent and #01327E for hover and pressed states. For a palette, the analogous pair #56EBFD and #6856FD stays calm, while #FDBC56 is the loudest partner.

What is #5697fd in CMYK for printing?

cmyk(66%, 40%, 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 #5697fd warm or cool?

Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #565AFD; nudged cooler, #3B90FF.

Work with #5697fd in the Color Lab