Skip to content

#5af0f3

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

RGB
90, 240, 243
HSL
181°, 86%, 65%
CMYK
63, 1, 0, 5
Luminance
0.7096

At a glance

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

Hex
#5af0f3
Hue
181°
cyan
Saturation
86%
electric
Lightness
65%
light
Brightness
95%
HSV value
Perceived
81%
weighted brightness
Luminance
0.7096
WCAG relative
Temperature
Cool
88/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
15.19:1
Closest name
Cyan
ΔE2000 4.1
Where it sits
Hue181° of 360°
Saturation86%
Lightness65%
Temperature
Warm ← → Cool88% 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#5af0f3
RGBrgb(90, 240, 243)
HSLhsl(181, 86%, 65%)
CMYKcmyk(63%, 1%, 0%, 5%)
LABlab(87.5 -38.2 -13.2)
LCHlch(87.5 40.5 199.1)
OKLCHoklch(0.878 0.125 197.0)
Decimal5959923
Display P3color(display-p3 0.353 0.941 0.953)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5af0f3 on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#5af0f3 on black: 15.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E0E5F4
deuteranopia · #C9D4F4
tritanopia · #00F8F0

Color scale — 50 to 950

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

#F2FCFD
#E5FAFA
#C5F6F7
#96F5F7
#5af0f3
#2EECF0
#11E0E4
#0EBBBE
#0B9598
#0D6C6E
#084345
Base = 400Lightest = 50 · #F2FCFDDarkest = 950 · #084345
:root {
  --brand-50: #F2FCFD;
  --brand-100: #E5FAFA;
  --brand-200: #C5F6F7;
  --brand-300: #96F5F7;
  --brand-400: #5af0f3;
  --brand-500: #2EECF0;
  --brand-600: #11E0E4;
  --brand-700: #0EBBBE;
  --brand-800: #0B9598;
  --brand-900: #0D6C6E;
  --brand-950: #084345;
  --brand: #5af0f3;
  --brand-ink: #000000;
}

Colors that work with #5af0f3

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#C0ECED
Hairlines and dividers
Muted text#4B999B
Captions on the surface
Accent#F7577B
Second voice, not a rival
Dark variant#097577
Hover, pressed, headers
Light variant#E7FDFD
Selected rows, tints
Dark surface#142424
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 #5af0f3

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#F35D5A
Analogous left#5AF3AA
Analogous right#5AA3F3
Split-complement 1#F35AA3
Split-complement 2#F3AA5A
Triadic 1#F35AF0
Triadic 2#F0F35A
Tetradic#AA5AF3

RGB percentages

Red35.3%
Green94.1%
Blue95.3%

CMYK percentages

Cyan63.0%
Magenta1.2%
Yellow0.0%
Key (black)4.7%

Color previews

#5af0f3 text on a black background

contrast 15.19:1

Card sample

#5af0f3 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5af0f3

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.

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

#5af0f3, answered

What color is #5af0f3?

#5af0f3 is a light electric cyan, closest to Cyan (ΔE2000 4.1). It sits at 181° on the hue wheel with 86% saturation and 65% lightness, which reads as cool.

What is the RGB value of #5af0f3?

rgb(90, 240, 243) — 90 red, 240 green and 243 blue out of 255, or 35.3% / 94.1% / 95.3% by channel.

Is #5af0f3 a light or a dark color?

It is a light color. Relative luminance is 0.7096 and perceived brightness is 81%, so black text on it reaches 15.19:1.

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

Black. It scores 15.19:1 against #5af0f3, versus 1.38:1 for white — AAA at any size.

What is the complementary color of #5af0f3?

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

What colors go well with #5af0f3?

For interface work: #F4FAFA as the surface, #C0ECED for borders, #4B999B for secondary text, #F7577B as an accent and #097577 for hover and pressed states. For a palette, the analogous pair #5AF3AA and #5AA3F3 stays calm, while #F35D5A is the loudest partner.

What is #5af0f3 in CMYK for printing?

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

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

Work with #5af0f3 in the Color Lab