Skip to content

#2dbaf2

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

RGB
45, 186, 242
HSL
197°, 88%, 56%
CMYK
81, 23, 0, 5
Luminance
0.4209

At a glance

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

Hex
#2dbaf2
Hue
197°
cyan
Saturation
88%
electric
Lightness
56%
balanced
Brightness
95%
HSV value
Perceived
65%
weighted brightness
Luminance
0.4209
WCAG relative
Temperature
Cool
95/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
9.42:1
Closest name
Deep Sky Blue
ΔE2000 1.9
Where it sits
Hue197° of 360°
Saturation88%
Lightness56%
Temperature
Warm ← → Cool95% 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#2dbaf2
RGBrgb(45, 186, 242)
HSLhsl(197, 88%, 56%)
CMYKcmyk(81%, 23%, 0%, 5%)
LABlab(70.9 -17.5 -38.0)
LCHlch(70.9 41.8 245.3)
OKLCHoklch(0.742 0.138 230.7)
Decimal2996978
Display P3color(display-p3 0.176 0.729 0.949)

Copy-ready code

/* CSS */
color: #2dbaf2;
background-color: #2dbaf2;
/* Tailwind (arbitrary) */
class="text-[#2dbaf2] bg-[#2dbaf2]"
/* SCSS */
$brand: #2dbaf2;
/* SwiftUI */
Color(red: 0.176, green: 0.729, blue: 0.949)
/* Android */
Color.parseColor("#2dbaf2")
/* Flutter */
Color(0xFF2DBAF2)
/* Python / OpenCV (BGR) */
(242, 186, 45)

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

Accessibility — WCAG contrast

Aa
#2dbaf2 on white: 2.23:1
AA ✗ fail · AA-large · AAA
Aa
#2dbaf2 on black: 9.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9DB8F5
deuteranopia · #84A6F1
tritanopia · #00C9CD

Color scale — 50 to 950

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

#F2FAFD
#E5F4FA
#C4E9F8
#95DCF8
#61CBF5
#2dbaf2
#0EA9E6
#0C8DC0
#0A719A
#0B536F
#073445
Base = 500Lightest = 50 · #F2FAFDDarkest = 950 · #073445
:root {
  --brand-50: #F2FAFD;
  --brand-100: #E5F4FA;
  --brand-200: #C4E9F8;
  --brand-300: #95DCF8;
  --brand-400: #61CBF5;
  --brand-500: #2dbaf2;
  --brand-600: #0EA9E6;
  --brand-700: #0C8DC0;
  --brand-800: #0A719A;
  --brand-900: #0B536F;
  --brand-950: #073445;
  --brand: #2dbaf2;
  --brand-ink: #000000;
}

Colors that work with #2dbaf2

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#C0E0ED
Hairlines and dividers
Muted text#4B849B
Captions on the surface
Accent#F63029
Second voice, not a rival
Dark variant#075878
Hover, pressed, headers
Light variant#E7F7FE
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 #2dbaf2

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#F2652D
Analogous left#2DF2C8
Analogous right#2D57F2
Split-complement 1#F22D57
Split-complement 2#F2C82D
Triadic 1#F22DBA
Triadic 2#BAF22D
Tetradic#C82DF2

RGB percentages

Red17.6%
Green72.9%
Blue94.9%

CMYK percentages

Cyan81.4%
Magenta23.1%
Yellow0.0%
Key (black)5.1%

Color previews

#2dbaf2 text on a black background

contrast 9.42:1

Card sample

#2dbaf2 text on a white background

contrast 2.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 186, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 186, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2dbaf2;
background: linear-gradient(135deg, #2dbaf2, #2D37F2);

Monochromatic scale

Palettes built from #2dbaf2

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.

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

#2dbaf2, answered

What color is #2dbaf2?

#2dbaf2 is a balanced electric cyan, closest to Deep Sky Blue (ΔE2000 1.9). It sits at 197° on the hue wheel with 88% saturation and 56% lightness, which reads as cool.

What is the RGB value of #2dbaf2?

rgb(45, 186, 242) — 45 red, 186 green and 242 blue out of 255, or 17.6% / 72.9% / 94.9% by channel.

Is #2dbaf2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4209 and perceived brightness is 65%, so black text on it reaches 9.42:1.

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

Black. It scores 9.42:1 against #2dbaf2, versus 2.23:1 for white — AAA at any size.

What is the complementary color of #2dbaf2?

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

What colors go well with #2dbaf2?

For interface work: #F4F9FA as the surface, #C0E0ED for borders, #4B849B for secondary text, #F63029 as an accent and #075878 for hover and pressed states. For a palette, the analogous pair #2DF2C8 and #2D57F2 stays calm, while #F2652D is the loudest partner.

What is #2dbaf2 in CMYK for printing?

cmyk(81%, 23%, 0%, 5%). 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 #2dbaf2 warm or cool?

Cool — it scores 95 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2DF2E2; nudged cooler, #2BA3F4.

Work with #2dbaf2 in the Color Lab