Skip to content

#3af2fb

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

RGB
58, 242, 251
HSL
183°, 96%, 61%
CMYK
77, 4, 0, 2
Luminance
0.7137

At a glance

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

Hex
#3af2fb
Hue
183°
cyan
Saturation
96%
electric
Lightness
61%
balanced
Brightness
98%
HSV value
Perceived
81%
weighted brightness
Luminance
0.7137
WCAG relative
Temperature
Cool
89/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
15.27:1
Closest name
Cyan
ΔE2000 4.2
Where it sits
Hue183° of 360°
Saturation96%
Lightness61%
Temperature
Warm ← → Cool89% 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#3af2fb
RGBrgb(58, 242, 251)
HSLhsl(183, 96%, 61%)
CMYKcmyk(77%, 4%, 0%, 2%)
LABlab(87.7 -40.8 -17.2)
LCHlch(87.7 44.3 202.9)
OKLCHoklch(0.878 0.139 200.1)
Decimal3863291
Display P3color(display-p3 0.227 0.949 0.984)

Copy-ready code

/* CSS */
color: #3af2fb;
background-color: #3af2fb;
/* Tailwind (arbitrary) */
class="text-[#3af2fb] bg-[#3af2fb]"
/* SCSS */
$brand: #3af2fb;
/* SwiftUI */
Color(red: 0.227, green: 0.949, blue: 0.984)
/* Android */
Color.parseColor("#3af2fb")
/* Flutter */
Color(0xFF3AF2FB)
/* Python / OpenCV (BGR) */
(251, 242, 58)

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

Accessibility — WCAG contrast

Aa
#3af2fb on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#3af2fb on black: 15.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E0E7FC
deuteranopia · #C5D3FC
tritanopia · #00FBF4

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #3af2fb is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F1FDFD
#E4FBFC
#C1F8FA
#91F8FD
#5AF4FC
#3af2fb
#05E5F0
#04BFC8
#0399A0
#076E73
#044548
Base = 500Lightest = 50 · #F1FDFDDarkest = 950 · #044548
:root {
  --brand-50: #F1FDFD;
  --brand-100: #E4FBFC;
  --brand-200: #C1F8FA;
  --brand-300: #91F8FD;
  --brand-400: #5AF4FC;
  --brand-500: #3af2fb;
  --brand-600: #05E5F0;
  --brand-700: #04BFC8;
  --brand-800: #0399A0;
  --brand-900: #076E73;
  --brand-950: #044548;
  --brand: #3af2fb;
  --brand-ink: #000000;
}

Colors that work with #3af2fb

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#C0EBED
Hairlines and dividers
Muted text#4B979B
Captions on the surface
Accent#FF365F
Second voice, not a rival
Dark variant#03777D
Hover, pressed, headers
Light variant#E6FDFE
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 #3af2fb

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
  • 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#FB433A
Analogous left#3AFBA4
Analogous right#3A92FB
Split-complement 1#FB3A92
Split-complement 2#FBA43A
Triadic 1#FB3AF2
Triadic 2#F2FB3A
Tetradic#A43AFB

RGB percentages

Red22.7%
Green94.9%
Blue98.4%

CMYK percentages

Cyan76.9%
Magenta3.6%
Yellow0.0%
Key (black)1.6%

Color previews

#3af2fb text on a black background

contrast 15.27:1

Card sample

#3af2fb text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3af2fb;
Background color
Panel with #3af2fb background
background-color: #3af2fb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3af2fb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(58, 242, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(58, 242, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3af2fb;
background: linear-gradient(135deg, #3af2fb, #3A71FB);

Monochromatic scale

Palettes built from #3af2fb

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.

#3af2fb 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
ButtonsLinksFocus statesCharts
Print note

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

#3af2fb, answered

What color is #3af2fb?

#3af2fb is a balanced electric cyan, closest to Cyan (ΔE2000 4.2). It sits at 183° on the hue wheel with 96% saturation and 61% lightness, which reads as cool.

What is the RGB value of #3af2fb?

rgb(58, 242, 251) — 58 red, 242 green and 251 blue out of 255, or 22.7% / 94.9% / 98.4% by channel.

Is #3af2fb a light or a dark color?

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

Should I use black or white text on #3af2fb?

Black. It scores 15.27:1 against #3af2fb, versus 1.37:1 for white — AAA at any size.

What is the complementary color of #3af2fb?

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

What colors go well with #3af2fb?

For interface work: #F4FAFA as the surface, #C0EBED for borders, #4B979B for secondary text, #FF365F as an accent and #03777D for hover and pressed states. For a palette, the analogous pair #3AFBA4 and #3A92FB stays calm, while #FB433A is the loudest partner.

What is #3af2fb in CMYK for printing?

cmyk(77%, 4%, 0%, 2%). 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 #3af2fb warm or cool?

Cool — it scores 89 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3AFBBD; nudged cooler, #38C4FD.

Work with #3af2fb in the Color Lab