Skip to content

#5af5ec

a light, electric cyan · cool · closest name: Cyan

RGB
90, 245, 236
HSL
177°, 89%, 66%
CMYK
63, 0, 4, 4
Luminance
0.7353

At a glance

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

Hex
#5af5ec
Hue
177°
cyan
Saturation
89%
electric
Lightness
66%
light
Brightness
96%
HSV value
Perceived
82%
weighted brightness
Luminance
0.7353
WCAG relative
Temperature
Cool
86/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
15.71:1
Closest name
Cyan
ΔE2000 4
Where it sits
Hue177° of 360°
Saturation89%
Lightness66%
Temperature
Warm ← → Cool86% 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#5af5ec
RGBrgb(90, 245, 236)
HSLhsl(177, 89%, 66%)
CMYKcmyk(63%, 0%, 4%, 4%)
LABlab(88.7 -42.4 -7.7)
LCHlch(88.7 43.0 190.3)
OKLCHoklch(0.887 0.130 189.6)
Decimal5961196
Display P3color(display-p3 0.353 0.961 0.925)

Copy-ready code

/* CSS */
color: #5af5ec;
background-color: #5af5ec;
/* Tailwind (arbitrary) */
class="text-[#5af5ec] bg-[#5af5ec]"
/* SCSS */
$brand: #5af5ec;
/* SwiftUI */
Color(red: 0.353, green: 0.961, blue: 0.925)
/* Android */
Color.parseColor("#5af5ec")
/* Flutter */
Color(0xFF5AF5EC)
/* Python / OpenCV (BGR) */
(236, 245, 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 #5af5ec · 15.71:1
Use #000000AAA at every size.
Aa
White text · 1.34:1
AA fail · AA large fail · AAA fail
Aa
Black text · 15.71:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #5af5ec as text scores 1.34:1 on white and 15.71:1 on black.

Accessibility — WCAG contrast

Aa
#5af5ec on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#5af5ec on black: 15.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E8E9EC
deuteranopia · #D0D7ED
tritanopia · #00FBF2

Color scale — 50 to 950

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

#F2FDFC
#E5FBF9
#C4F8F5
#95F9F3
#5af5ec
#2BF2E7
#0EE7DA
#0CC0B6
#099A91
#0B6F69
#074542
Base = 400Lightest = 50 · #F2FDFCDarkest = 950 · #074542
:root {
  --brand-50: #F2FDFC;
  --brand-100: #E5FBF9;
  --brand-200: #C4F8F5;
  --brand-300: #95F9F3;
  --brand-400: #5af5ec;
  --brand-500: #2BF2E7;
  --brand-600: #0EE7DA;
  --brand-700: #0CC0B6;
  --brand-800: #099A91;
  --brand-900: #0B6F69;
  --brand-950: #074542;
  --brand: #5af5ec;
  --brand-ink: #000000;
}

Colors that work with #5af5ec

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#F4FAFA
Tinted page background
Border#C0EDEA
Hairlines and dividers
Muted text#4B9B96
Captions on the surface
Accent#C50740
Second voice, not a rival
Dark variant#077872
Hover, pressed, headers
Light variant#E7FEFC
Selected rows, tints
Dark surface#142423
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 #5af5ec

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
  • Thin strokes and 1px borders — they disappear on light UI
  • 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#F55A63
Analogous left#5AF59E
Analogous right#5AB1F5
Split-complement 1#F55AB1
Split-complement 2#F59E5A
Triadic 1#EC5AF5
Triadic 2#F5EC5A
Tetradic#9E5AF5

RGB percentages

Red35.3%
Green96.1%
Blue92.5%

CMYK percentages

Cyan63.3%
Magenta0.0%
Yellow3.7%
Key (black)3.9%

Color previews

#5af5ec text on a black background

contrast 15.71:1

Card sample

#5af5ec text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(90, 245, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(90, 245, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5af5ec;
background: linear-gradient(135deg, #5af5ec, #5A97F5);

Monochromatic scale

Palettes built from #5af5ec

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.

#5af5ec in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyTravelHealthcareMedia
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#5af5ec, answered

What color is #5af5ec?

#5af5ec is a light electric cyan, closest to Cyan (ΔE2000 4). It sits at 177° on the hue wheel with 89% saturation and 66% lightness, which reads as cool.

What is the RGB value of #5af5ec?

rgb(90, 245, 236) — 90 red, 245 green and 236 blue out of 255, or 35.3% / 96.1% / 92.5% by channel.

Is #5af5ec a light or a dark color?

It is a light color. Relative luminance is 0.7353 and perceived brightness is 82%, so black text on it reaches 15.71:1.

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

Black. It scores 15.71:1 against #5af5ec, versus 1.34:1 for white — AAA at any size.

What is the complementary color of #5af5ec?

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

What colors go well with #5af5ec?

For interface work: #F4FAFA as the surface, #C0EDEA for borders, #4B9B96 for secondary text, #C50740 as an accent and #077872 for hover and pressed states. For a palette, the analogous pair #5AF59E and #5AB1F5 stays calm, while #F55A63 is the loudest partner.

What is #5af5ec in CMYK for printing?

cmyk(63%, 0%, 4%, 4%). 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 #5af5ec warm or cool?

Cool — it scores 86 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5AF5B3; nudged cooler, #58CBF7.

Work with #5af5ec in the Color Lab