Skip to content

#2ac7fb

a balanced, electric cyan · cool · closest name: Deep Sky Blue

RGB
42, 199, 251
HSL
195°, 96%, 58%
CMYK
83, 21, 0, 2
Luminance
0.4830

At a glance

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

Hex
#2ac7fb
Hue
195°
cyan
Saturation
96%
electric
Lightness
58%
balanced
Brightness
98%
HSV value
Perceived
69%
weighted brightness
Luminance
0.4830
WCAG relative
Temperature
Cool
94/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
10.66:1
Closest name
Deep Sky Blue
ΔE2000 3.5
Where it sits
Hue195° of 360°
Saturation96%
Lightness58%
Temperature
Warm ← → Cool94% 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#2ac7fb
RGBrgb(42, 199, 251)
HSLhsl(195, 96%, 58%)
CMYKcmyk(83%, 21%, 0%, 2%)
LABlab(75.0 -21.4 -36.5)
LCHlch(75.0 42.4 239.6)
OKLCHoklch(0.775 0.141 226.7)
Decimal2803707
Display P3color(display-p3 0.165 0.780 0.984)

Copy-ready code

/* CSS */
color: #2ac7fb;
background-color: #2ac7fb;
/* Tailwind (arbitrary) */
class="text-[#2ac7fb] bg-[#2ac7fb]"
/* SCSS */
$brand: #2ac7fb;
/* SwiftUI */
Color(red: 0.165, green: 0.780, blue: 0.984)
/* Android */
Color.parseColor("#2ac7fb")
/* Flutter */
Color(0xFF2AC7FB)
/* Python / OpenCV (BGR) */
(251, 199, 42)

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

Accessibility — WCAG contrast

Aa
#2ac7fb on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#2ac7fb on black: 10.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #ABC3FE
deuteranopia · #90B0FA
tritanopia · #00D6D8

Color scale — 50 to 950

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

#F1FAFD
#E4F6FC
#C1ECFA
#91E2FD
#5AD4FC
#2ac7fb
#05B6F0
#0497C8
#0379A0
#075873
#043748
Base = 500Lightest = 50 · #F1FAFDDarkest = 950 · #043748
:root {
  --brand-50: #F1FAFD;
  --brand-100: #E4F6FC;
  --brand-200: #C1ECFA;
  --brand-300: #91E2FD;
  --brand-400: #5AD4FC;
  --brand-500: #2ac7fb;
  --brand-600: #05B6F0;
  --brand-700: #0497C8;
  --brand-800: #0379A0;
  --brand-900: #075873;
  --brand-950: #043748;
  --brand: #2ac7fb;
  --brand-ink: #000000;
}

Colors that work with #2ac7fb

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#F4F9FA
Tinted page background
Border#C0E1ED
Hairlines and dividers
Muted text#4B879B
Captions on the surface
Accent#FF2627
Second voice, not a rival
Dark variant#025F7D
Hover, pressed, headers
Light variant#E6F8FF
Selected rows, tints
Dark surface#142024
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 #2ac7fb

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#FB5E2A
Analogous left#2AFBC6
Analogous right#2A5FFB
Split-complement 1#FB2A5F
Split-complement 2#FBC62A
Triadic 1#FB2AC7
Triadic 2#C7FB2A
Tetradic#C62AFB

RGB percentages

Red16.5%
Green78.0%
Blue98.4%

CMYK percentages

Cyan83.3%
Magenta20.7%
Yellow0.0%
Key (black)1.6%

Color previews

#2ac7fb text on a black background

contrast 10.66:1

Card sample

#2ac7fb text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2ac7fb;
Background color
Panel with #2ac7fb background
background-color: #2ac7fb;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(42, 199, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 199, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2ac7fb;
background: linear-gradient(135deg, #2ac7fb, #2A3CFB);

Monochromatic scale

Palettes built from #2ac7fb

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.

#2ac7fb 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.

#2ac7fb, answered

What color is #2ac7fb?

#2ac7fb is a balanced electric cyan, closest to Deep Sky Blue (ΔE2000 3.5). It sits at 195° on the hue wheel with 96% saturation and 58% lightness, which reads as cool.

What is the RGB value of #2ac7fb?

rgb(42, 199, 251) — 42 red, 199 green and 251 blue out of 255, or 16.5% / 78% / 98.4% by channel.

Is #2ac7fb a light or a dark color?

It is a mid-tone. Relative luminance is 0.4830 and perceived brightness is 69%, so black text on it reaches 10.66:1.

Should I use black or white text on #2ac7fb?

Black. It scores 10.66:1 against #2ac7fb, versus 1.97:1 for white — AAA at any size.

What is the complementary color of #2ac7fb?

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

What colors go well with #2ac7fb?

For interface work: #F4F9FA as the surface, #C0E1ED for borders, #4B879B for secondary text, #FF2627 as an accent and #025F7D for hover and pressed states. For a palette, the analogous pair #2AFBC6 and #2A5FFB stays calm, while #FB5E2A is the loudest partner.

What is #2ac7fb in CMYK for printing?

cmyk(83%, 21%, 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 #2ac7fb warm or cool?

Cool — it scores 94 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2AFBE2; nudged cooler, #28ABFD.

Work with #2ac7fb in the Color Lab