Skip to content

#2ac5eb

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

RGB
42, 197, 235
HSL
192°, 83%, 54%
CMYK
82, 16, 0, 8
Luminance
0.4642

At a glance

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

Hex
#2ac5eb
Hue
192°
cyan
Saturation
83%
electric
Lightness
54%
balanced
Brightness
92%
HSV value
Perceived
67%
weighted brightness
Luminance
0.4642
WCAG relative
Temperature
Cool
92/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
10.28:1
Closest name
Deep Sky Blue
ΔE2000 6.9
Where it sits
Hue192° of 360°
Saturation83%
Lightness54%
Temperature
Warm ← → Cool92% 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#2ac5eb
RGBrgb(42, 197, 235)
HSLhsl(192, 83%, 54%)
CMYKcmyk(82%, 16%, 0%, 8%)
LABlab(73.8 -25.7 -29.8)
LCHlch(73.8 39.3 229.2)
OKLCHoklch(0.764 0.131 219.6)
Decimal2803179
Display P3color(display-p3 0.165 0.773 0.922)

Copy-ready code

/* CSS */
color: #2ac5eb;
background-color: #2ac5eb;
/* Tailwind (arbitrary) */
class="text-[#2ac5eb] bg-[#2ac5eb]"
/* SCSS */
$brand: #2ac5eb;
/* SwiftUI */
Color(red: 0.165, green: 0.773, blue: 0.922)
/* Android */
Color.parseColor("#2ac5eb")
/* Flutter */
Color(0xFF2AC5EB)
/* Python / OpenCV (BGR) */
(235, 197, 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 #2ac5eb · 10.28:1
Use #000000AAA at every size.
Aa
White text · 2.04:1
AA fail · AA large fail · AAA fail
Aa
Black text · 10.28:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #2ac5eb as text scores 2.04:1 on white and 10.28:1 on black.

Accessibility — WCAG contrast

Aa
#2ac5eb on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#2ac5eb on black: 10.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AEC0ED
deuteranopia · #95AEEB
tritanopia · #00D1D1

Color scale — 50 to 950

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

#F2FAFC
#E6F6FA
#C6EDF6
#98E3F5
#65D5F1
#2ac5eb
#15B8E0
#1299BA
#0E7B95
#0F596C
#093843
Base = 500Lightest = 50 · #F2FAFCDarkest = 950 · #093843
:root {
  --brand-50: #F2FAFC;
  --brand-100: #E6F6FA;
  --brand-200: #C6EDF6;
  --brand-300: #98E3F5;
  --brand-400: #65D5F1;
  --brand-500: #2ac5eb;
  --brand-600: #15B8E0;
  --brand-700: #1299BA;
  --brand-800: #0E7B95;
  --brand-900: #0F596C;
  --brand-950: #093843;
  --brand: #2ac5eb;
  --brand-ink: #000000;
}

Colors that work with #2ac5eb

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#C0E4ED
Hairlines and dividers
Muted text#4B8B9B
Captions on the surface
Accent#F02530
Second voice, not a rival
Dark variant#0B6075
Hover, pressed, headers
Light variant#E8F9FD
Selected rows, tints
Dark surface#142124
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 #2ac5eb

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#EB502A
Analogous left#2AEBB0
Analogous right#2A65EB
Split-complement 1#EB2A65
Split-complement 2#EBB02A
Triadic 1#EB2AC5
Triadic 2#C5EB2A
Tetradic#B02AEB

RGB percentages

Red16.5%
Green77.3%
Blue92.2%

CMYK percentages

Cyan82.1%
Magenta16.2%
Yellow0.0%
Key (black)7.8%

Color previews

#2ac5eb text on a black background

contrast 10.28:1

Card sample

#2ac5eb text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ac5eb

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.

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

#2ac5eb, answered

What color is #2ac5eb?

#2ac5eb is a balanced electric cyan, closest to Deep Sky Blue (ΔE2000 6.9). It sits at 192° on the hue wheel with 83% saturation and 54% lightness, which reads as cool.

What is the RGB value of #2ac5eb?

rgb(42, 197, 235) — 42 red, 197 green and 235 blue out of 255, or 16.5% / 77.3% / 92.2% by channel.

Is #2ac5eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.4642 and perceived brightness is 67%, so black text on it reaches 10.28:1.

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

Black. It scores 10.28:1 against #2ac5eb, versus 2.04:1 for white — AAA at any size.

What is the complementary color of #2ac5eb?

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

What colors go well with #2ac5eb?

For interface work: #F4F9FA as the surface, #C0E4ED for borders, #4B8B9B for secondary text, #F02530 as an accent and #0B6075 for hover and pressed states. For a palette, the analogous pair #2AEBB0 and #2A65EB stays calm, while #EB502A is the loudest partner.

What is #2ac5eb in CMYK for printing?

cmyk(82%, 16%, 0%, 8%). 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 #2ac5eb warm or cool?

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

Work with #2ac5eb in the Color Lab