Skip to content

#2ab8cc

a balanced, vivid cyan · cool · closest name: Dark Turquoise

RGB
42, 184, 204
HSL
187°, 66%, 48%
CMYK
79, 10, 0, 20
Luminance
0.3913

At a glance

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

Hex
#2ab8cc
Hue
187°
cyan
Saturation
66%
vivid
Lightness
48%
balanced
Brightness
80%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3913
WCAG relative
Temperature
Cool
91/100 cool
Color family
Cyan
Tone
Vivid
Best ink
Black
8.83:1
Closest name
Dark Turquoise
ΔE2000 8.6
Where it sits
Hue187° of 360°
Saturation66%
Lightness48%
Temperature
Warm ← → Cool91% 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#2ab8cc
RGBrgb(42, 184, 204)
HSLhsl(187, 66%, 48%)
CMYKcmyk(79%, 10%, 0%, 20%)
LABlab(68.8 -29.1 -20.5)
LCHlch(68.8 35.6 215.1)
OKLCHoklch(0.720 0.116 209.5)
Decimal2799820
Display P3color(display-p3 0.165 0.722 0.800)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ab8cc on white: 2.38:1
AA ✗ fail · AA-large · AAA
Aa
#2ab8cc on black: 8.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A7B1CD
deuteranopia · #91A1CC
tritanopia · #00C1BE

Color scale — 50 to 950

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

#F3FAFB
#E8F6F8
#CBECF1
#A2E3EC
#73D5E2
#45C7D9
#2ab8cc
#2399A9
#1C7A87
#185962
#0F383D
Base = 600Lightest = 50 · #F3FAFBDarkest = 950 · #0F383D
:root {
  --brand-50: #F3FAFB;
  --brand-100: #E8F6F8;
  --brand-200: #CBECF1;
  --brand-300: #A2E3EC;
  --brand-400: #73D5E2;
  --brand-500: #45C7D9;
  --brand-600: #2ab8cc;
  --brand-700: #2399A9;
  --brand-800: #1C7A87;
  --brand-900: #185962;
  --brand-950: #0F383D;
  --brand: #2ab8cc;
  --brand-ink: #000000;
}

Colors that work with #2ab8cc

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#C0E7ED
Hairlines and dividers
Muted text#4B919B
Captions on the surface
Accent#D1253B
Second voice, not a rival
Dark variant#165F6A
Hover, pressed, headers
Light variant#EAF9FB
Selected rows, tints
Dark surface#142224
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 #2ab8cc

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#CC3E2A
Analogous left#2ACC8F
Analogous right#2A67CC
Split-complement 1#CC2A67
Split-complement 2#CC8F2A
Triadic 1#CC2AB8
Triadic 2#B8CC2A
Tetradic#8F2ACC

RGB percentages

Red16.5%
Green72.2%
Blue80.0%

CMYK percentages

Cyan79.4%
Magenta9.8%
Yellow0.0%
Key (black)20.0%

Color previews

#2ab8cc text on a black background

contrast 8.83:1

Card sample

#2ab8cc text on a white background

contrast 2.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ab8cc

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.

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

#2ab8cc, answered

What color is #2ab8cc?

#2ab8cc is a balanced vivid cyan, closest to Dark Turquoise (ΔE2000 8.6). It sits at 187° on the hue wheel with 66% saturation and 48% lightness, which reads as cool.

What is the RGB value of #2ab8cc?

rgb(42, 184, 204) — 42 red, 184 green and 204 blue out of 255, or 16.5% / 72.2% / 80% by channel.

Is #2ab8cc a light or a dark color?

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

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

Black. It scores 8.83:1 against #2ab8cc, versus 2.38:1 for white — AAA at any size.

What is the complementary color of #2ab8cc?

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

What colors go well with #2ab8cc?

For interface work: #F4FAFA as the surface, #C0E7ED for borders, #4B919B for secondary text, #D1253B as an accent and #165F6A for hover and pressed states. For a palette, the analogous pair #2ACC8F and #2A67CC stays calm, while #CC3E2A is the loudest partner.

What is #2ab8cc in CMYK for printing?

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

Is #2ab8cc warm or cool?

Cool — it scores 91 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2ACCA4; nudged cooler, #2795CE.

Work with #2ab8cc in the Color Lab