Skip to content

#5ab5fd

a light, electric blue · cool · closest name: Deep Sky Blue

RGB
90, 181, 253
HSL
207°, 98%, 67%
CMYK
64, 29, 0, 1
Luminance
0.4231

At a glance

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

Hex
#5ab5fd
Hue
207°
blue
Saturation
98%
electric
Lightness
67%
light
Brightness
99%
HSV value
Perceived
67%
weighted brightness
Luminance
0.4231
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
9.46:1
Closest name
Deep Sky Blue
ΔE2000 7.1
Where it sits
Hue207° of 360°
Saturation98%
Lightness67%
Temperature
Warm ← → Cool99% 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#5ab5fd
RGBrgb(90, 181, 253)
HSLhsl(207, 98%, 67%)
CMYKcmyk(64%, 29%, 0%, 1%)
LABlab(71.1 -5.5 -43.6)
LCHlch(71.1 44.0 262.8)
OKLCHoklch(0.748 0.136 245.0)
Decimal5944829
Display P3color(display-p3 0.353 0.710 0.992)

Copy-ready code

/* CSS */
color: #5ab5fd;
background-color: #5ab5fd;
/* Tailwind (arbitrary) */
class="text-[#5ab5fd] bg-[#5ab5fd]"
/* SCSS */
$brand: #5ab5fd;
/* SwiftUI */
Color(red: 0.353, green: 0.710, blue: 0.992)
/* Android */
Color.parseColor("#5ab5fd")
/* Flutter */
Color(0xFF5AB5FD)
/* Python / OpenCV (BGR) */
(253, 181, 90)

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

Accessibility — WCAG contrast

Aa
#5ab5fd on white: 2.22:1
AA ✗ fail · AA-large · AAA
Aa
#5ab5fd on black: 9.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #95B7FF
deuteranopia · #7FA7FC
tritanopia · #00C6CE

Color scale — 50 to 950

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

#F1F8FD
#E4F1FC
#C1E1FB
#90CDFE
#5ab5fd
#219CFC
#0388F2
#0272CA
#025BA1
#064474
#042A49
Base = 400Lightest = 50 · #F1F8FDDarkest = 950 · #042A49
:root {
  --brand-50: #F1F8FD;
  --brand-100: #E4F1FC;
  --brand-200: #C1E1FB;
  --brand-300: #90CDFE;
  --brand-400: #5ab5fd;
  --brand-500: #219CFC;
  --brand-600: #0388F2;
  --brand-700: #0272CA;
  --brand-800: #025BA1;
  --brand-900: #064474;
  --brand-950: #042A49;
  --brand: #5ab5fd;
  --brand-ink: #000000;
}

Colors that work with #5ab5fd

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#F4F8FA
Tinted page background
Border#C0D9ED
Hairlines and dividers
Muted text#4B779B
Captions on the surface
Accent#CC2700
Second voice, not a rival
Dark variant#02477E
Hover, pressed, headers
Light variant#E6F4FF
Selected rows, tints
Dark surface#141D24
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 #5ab5fd

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#FDA25A
Analogous left#5AFDF4
Analogous right#5A64FD
Split-complement 1#FD5A64
Split-complement 2#FDF45A
Triadic 1#FD5AB5
Triadic 2#B5FD5A
Tetradic#F45AFD

RGB percentages

Red35.3%
Green71.0%
Blue99.2%

CMYK percentages

Cyan64.4%
Magenta28.5%
Yellow0.0%
Key (black)0.8%

Color previews

#5ab5fd text on a black background

contrast 9.46:1

Card sample

#5ab5fd text on a white background

contrast 2.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(90, 181, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(90, 181, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5ab5fd;
background: linear-gradient(135deg, #5ab5fd, #6C5AFD);

Monochromatic scale

Palettes built from #5ab5fd

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.

#5ab5fd 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.

#5ab5fd, answered

What color is #5ab5fd?

#5ab5fd is a light electric blue, closest to Deep Sky Blue (ΔE2000 7.1). It sits at 207° on the hue wheel with 98% saturation and 67% lightness, which reads as cool.

What is the RGB value of #5ab5fd?

rgb(90, 181, 253) — 90 red, 181 green and 253 blue out of 255, or 35.3% / 71% / 99.2% by channel.

Is #5ab5fd a light or a dark color?

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

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

Black. It scores 9.46:1 against #5ab5fd, versus 2.22:1 for white — AAA at any size.

What is the complementary color of #5ab5fd?

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

What colors go well with #5ab5fd?

For interface work: #F4F8FA as the surface, #C0D9ED for borders, #4B779B for secondary text, #CC2700 as an accent and #02477E for hover and pressed states. For a palette, the analogous pair #5AFDF4 and #5A64FD stays calm, while #FDA25A is the loudest partner.

What is #5ab5fd in CMYK for printing?

cmyk(64%, 29%, 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 #5ab5fd warm or cool?

Cool — it scores 99 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5A79FD; nudged cooler, #3FA1FF.

Work with #5ab5fd in the Color Lab