Skip to content

#5b9ddf

a balanced, vivid blue · cool · closest name: Cornflower Blue

RGB
91, 157, 223
HSL
210°, 67%, 62%
CMYK
59, 30, 0, 13
Luminance
0.3167

At a glance

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

Hex
#5b9ddf
Hue
210°
blue
Saturation
67%
vivid
Lightness
62%
balanced
Brightness
87%
HSV value
Perceived
59%
weighted brightness
Luminance
0.3167
WCAG relative
Temperature
Cool
100/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
7.33:1
Closest name
Cornflower Blue
ΔE2000 4.7
Where it sits
Hue210° of 360°
Saturation67%
Lightness62%
Temperature
Warm ← → Cool100% 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#5b9ddf
RGBrgb(91, 157, 223)
HSLhsl(210, 67%, 62%)
CMYKcmyk(59%, 30%, 0%, 13%)
LABlab(63.1 -1.6 -39.8)
LCHlch(63.1 39.8 267.8)
OKLCHoklch(0.680 0.119 250.0)
Decimal6004191
Display P3color(display-p3 0.357 0.616 0.875)

Copy-ready code

/* CSS */
color: #5b9ddf;
background-color: #5b9ddf;
/* Tailwind (arbitrary) */
class="text-[#5b9ddf] bg-[#5b9ddf]"
/* SCSS */
$brand: #5b9ddf;
/* SwiftUI */
Color(red: 0.357, green: 0.616, blue: 0.875)
/* Android */
Color.parseColor("#5b9ddf")
/* Flutter */
Color(0xFF5B9DDF)
/* Python / OpenCV (BGR) */
(223, 157, 91)

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

Accessibility — WCAG contrast

Aa
#5b9ddf on white: 2.86:1
AA ✗ fail · AA-large · AAA
Aa
#5b9ddf on black: 7.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #81A0E2
deuteranopia · #6F93DE
tritanopia · #00ACB4

Color scale — 50 to 950

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

#F3F7FB
#E8F0F8
#CADEF1
#A1C7ED
#5b9ddf
#438FDA
#287ACD
#2166AB
#1B5289
#173D63
#0F263E
Base = 400Lightest = 50 · #F3F7FBDarkest = 950 · #0F263E
:root {
  --brand-50: #F3F7FB;
  --brand-100: #E8F0F8;
  --brand-200: #CADEF1;
  --brand-300: #A1C7ED;
  --brand-400: #5b9ddf;
  --brand-500: #438FDA;
  --brand-600: #287ACD;
  --brand-700: #2166AB;
  --brand-800: #1B5289;
  --brand-900: #173D63;
  --brand-950: #0F263E;
  --brand: #5b9ddf;
  --brand-ink: #000000;
}

Colors that work with #5b9ddf

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#C0D6ED
Hairlines and dividers
Muted text#4B739B
Captions on the surface
Accent#AF421D
Second voice, not a rival
Dark variant#15406B
Hover, pressed, headers
Light variant#EAF2FB
Selected rows, tints
Dark surface#141C24
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 #5b9ddf

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
  • 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
  • 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#DF9D5B
Analogous left#5BDFDF
Analogous right#5B5BDF
Split-complement 1#DF5B5B
Split-complement 2#DFDF5B
Triadic 1#DF5B9D
Triadic 2#9DDF5B
Tetradic#DF5BDF

RGB percentages

Red35.7%
Green61.6%
Blue87.5%

CMYK percentages

Cyan59.2%
Magenta29.6%
Yellow0.0%
Key (black)12.5%

Color previews

#5b9ddf text on a black background

contrast 7.33:1

Card sample

#5b9ddf text on a white background

contrast 2.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5b9ddf;
Background color
Panel with #5b9ddf background
background-color: #5b9ddf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5b9ddf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(91, 157, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(91, 157, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5b9ddf;
background: linear-gradient(135deg, #5b9ddf, #715BDF);

Monochromatic scale

Palettes built from #5b9ddf

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.

#5b9ddf 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
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#5b9ddf, answered

What color is #5b9ddf?

#5b9ddf is a balanced vivid blue, closest to Cornflower Blue (ΔE2000 4.7). It sits at 210° on the hue wheel with 67% saturation and 62% lightness, which reads as cool.

What is the RGB value of #5b9ddf?

rgb(91, 157, 223) — 91 red, 157 green and 223 blue out of 255, or 35.7% / 61.6% / 87.5% by channel.

Is #5b9ddf a light or a dark color?

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

Should I use black or white text on #5b9ddf?

Black. It scores 7.33:1 against #5b9ddf, versus 2.86:1 for white — AAA at any size.

What is the complementary color of #5b9ddf?

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

What colors go well with #5b9ddf?

For interface work: #F4F7FA as the surface, #C0D6ED for borders, #4B739B for secondary text, #AF421D as an accent and #15406B for hover and pressed states. For a palette, the analogous pair #5BDFDF and #5B5BDF stays calm, while #DF9D5B is the loudest partner.

What is #5b9ddf in CMYK for printing?

cmyk(59%, 30%, 0%, 13%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #5b9ddf warm or cool?

Cool — it scores 100 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5B6DDF; nudged cooler, #448EDD.

Work with #5b9ddf in the Color Lab