Skip to content

#2ab5d9

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

RGB
42, 181, 217
HSL
192°, 70%, 51%
CMYK
81, 17, 0, 15
Luminance
0.3855

At a glance

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

Hex
#2ab5d9
Hue
192°
cyan
Saturation
70%
vivid
Lightness
51%
balanced
Brightness
85%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3855
WCAG relative
Temperature
Cool
93/100 cool
Color family
Cyan
Tone
Vivid
Best ink
Black
8.71:1
Closest name
Deep Sky Blue
ΔE2000 7.4
Where it sits
Hue192° of 360°
Saturation70%
Lightness51%
Temperature
Warm ← → Cool93% 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#2ab5d9
RGBrgb(42, 181, 217)
HSLhsl(192, 70%, 51%)
CMYKcmyk(81%, 17%, 0%, 15%)
LABlab(68.4 -23.5 -28.3)
LCHlch(68.4 36.7 230.3)
OKLCHoklch(0.718 0.122 220.4)
Decimal2799065
Display P3color(display-p3 0.165 0.710 0.851)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ab5d9 on white: 2.41:1
AA ✗ fail · AA-large · AAA
Aa
#2ab5d9 on black: 8.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9FB0DB
deuteranopia · #88A0D9
tritanopia · #00C1C1

Color scale — 50 to 950

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

#F3FAFC
#E7F5F8
#CAEAF2
#A0DEEE
#70CDE6
#41BDDD
#2ab5d9
#1F90AD
#19738A
#165464
#0E353F
Base = 600Lightest = 50 · #F3FAFCDarkest = 950 · #0E353F
:root {
  --brand-50: #F3FAFC;
  --brand-100: #E7F5F8;
  --brand-200: #CAEAF2;
  --brand-300: #A0DEEE;
  --brand-400: #70CDE6;
  --brand-500: #41BDDD;
  --brand-600: #2ab5d9;
  --brand-700: #1F90AD;
  --brand-800: #19738A;
  --brand-900: #165464;
  --brand-950: #0E353F;
  --brand: #2ab5d9;
  --brand-ink: #000000;
}

Colors that work with #2ab5d9

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#C0E3ED
Hairlines and dividers
Muted text#4B8A9B
Captions on the surface
Accent#DE252D
Second voice, not a rival
Dark variant#135A6C
Hover, pressed, headers
Light variant#E9F7FB
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 #2ab5d9

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#D94E2A
Analogous left#2AD9A5
Analogous right#2A5ED9
Split-complement 1#D92A5E
Split-complement 2#D9A52A
Triadic 1#D92AB5
Triadic 2#B5D92A
Tetradic#A52AD9

RGB percentages

Red16.5%
Green71.0%
Blue85.1%

CMYK percentages

Cyan80.6%
Magenta16.6%
Yellow0.0%
Key (black)14.9%

Color previews

#2ab5d9 text on a black background

contrast 8.71:1

Card sample

#2ab5d9 text on a white background

contrast 2.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ab5d9

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.

#2ab5d9 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

Converts to four-color process without much drama. Proof it anyway.

#2ab5d9, answered

What color is #2ab5d9?

#2ab5d9 is a balanced vivid cyan, closest to Deep Sky Blue (ΔE2000 7.4). It sits at 192° on the hue wheel with 70% saturation and 51% lightness, which reads as cool.

What is the RGB value of #2ab5d9?

rgb(42, 181, 217) — 42 red, 181 green and 217 blue out of 255, or 16.5% / 71% / 85.1% by channel.

Is #2ab5d9 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3855 and perceived brightness is 62%, so black text on it reaches 8.71:1.

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

Black. It scores 8.71:1 against #2ab5d9, versus 2.41:1 for white — AAA at any size.

What is the complementary color of #2ab5d9?

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

What colors go well with #2ab5d9?

For interface work: #F4F9FA as the surface, #C0E3ED for borders, #4B8A9B for secondary text, #DE252D as an accent and #135A6C for hover and pressed states. For a palette, the analogous pair #2AD9A5 and #2A5ED9 stays calm, while #D94E2A is the loudest partner.

What is #2ab5d9 in CMYK for printing?

cmyk(81%, 17%, 0%, 15%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #2ab5d9 warm or cool?

Cool — it scores 93 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2AD9BD; nudged cooler, #2898DB.

Work with #2ab5d9 in the Color Lab