Skip to content

#5faef1

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

RGB
95, 174, 241
HSL
208°, 84%, 66%
CMYK
61, 28, 0, 6
Luminance
0.3906

At a glance

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

Hex
#5faef1
Hue
208°
blue
Saturation
84%
electric
Lightness
66%
light
Brightness
95%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3906
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
8.81:1
Closest name
Deep Sky Blue
ΔE2000 8.4
Where it sits
Hue208° of 360°
Saturation84%
Lightness66%
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#5faef1
RGBrgb(95, 174, 241)
HSLhsl(208, 84%, 66%)
CMYKcmyk(61%, 28%, 0%, 6%)
LABlab(68.8 -4.6 -40.7)
LCHlch(68.8 41.0 263.5)
OKLCHoklch(0.728 0.125 246.2)
Decimal6270705
Display P3color(display-p3 0.373 0.682 0.945)

Copy-ready code

/* CSS */
color: #5faef1;
background-color: #5faef1;
/* Tailwind (arbitrary) */
class="text-[#5faef1] bg-[#5faef1]"
/* SCSS */
$brand: #5faef1;
/* SwiftUI */
Color(red: 0.373, green: 0.682, blue: 0.945)
/* Android */
Color.parseColor("#5faef1")
/* Flutter */
Color(0xFF5FAEF1)
/* Python / OpenCV (BGR) */
(241, 174, 95)

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

Accessibility — WCAG contrast

Aa
#5faef1 on white: 2.38:1
AA ✗ fail · AA-large · AAA
Aa
#5faef1 on black: 8.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #91B0F4
deuteranopia · #7DA1F0
tritanopia · #00BEC5

Color scale — 50 to 950

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

#F2F8FC
#E6F1FA
#C5E0F6
#98CBF6
#5faef1
#3197ED
#1483E1
#106DBC
#0D5796
#0E416C
#092944
Base = 400Lightest = 50 · #F2F8FCDarkest = 950 · #092944
:root {
  --brand-50: #F2F8FC;
  --brand-100: #E6F1FA;
  --brand-200: #C5E0F6;
  --brand-300: #98CBF6;
  --brand-400: #5faef1;
  --brand-500: #3197ED;
  --brand-600: #1483E1;
  --brand-700: #106DBC;
  --brand-800: #0D5796;
  --brand-900: #0E416C;
  --brand-950: #092944;
  --brand: #5faef1;
  --brand-ink: #000000;
}

Colors that work with #5faef1

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#C0D8ED
Hairlines and dividers
Muted text#4B769B
Captions on the surface
Accent#BF310D
Second voice, not a rival
Dark variant#0A4475
Hover, pressed, headers
Light variant#E8F3FD
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 #5faef1

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#F1A25F
Analogous left#5FF1EB
Analogous right#5F65F1
Split-complement 1#F15F65
Split-complement 2#F1EB5F
Triadic 1#F15FAE
Triadic 2#AEF15F
Tetradic#EB5FF1

RGB percentages

Red37.3%
Green68.2%
Blue94.5%

CMYK percentages

Cyan60.6%
Magenta27.8%
Yellow0.0%
Key (black)5.5%

Color previews

#5faef1 text on a black background

contrast 8.81:1

Card sample

#5faef1 text on a white background

contrast 2.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(95, 174, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(95, 174, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5faef1;
background: linear-gradient(135deg, #5faef1, #715FF1);

Monochromatic scale

Palettes built from #5faef1

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.

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

#5faef1, answered

What color is #5faef1?

#5faef1 is a light electric blue, closest to Deep Sky Blue (ΔE2000 8.4). It sits at 208° on the hue wheel with 84% saturation and 66% lightness, which reads as cool.

What is the RGB value of #5faef1?

rgb(95, 174, 241) — 95 red, 174 green and 241 blue out of 255, or 37.3% / 68.2% / 94.5% by channel.

Is #5faef1 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3906 and perceived brightness is 65%, so black text on it reaches 8.81:1.

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

Black. It scores 8.81:1 against #5faef1, versus 2.38:1 for white — AAA at any size.

What is the complementary color of #5faef1?

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

What colors go well with #5faef1?

For interface work: #F4F8FA as the surface, #C0D8ED for borders, #4B769B for secondary text, #BF310D as an accent and #0A4475 for hover and pressed states. For a palette, the analogous pair #5FF1EB and #5F65F1 stays calm, while #F1A25F is the loudest partner.

What is #5faef1 in CMYK for printing?

cmyk(61%, 28%, 0%, 6%). 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 #5faef1 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 #5F79F1; nudged cooler, #469CF1.

Work with #5faef1 in the Color Lab