Skip to content

#21cdf2

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

RGB
33, 205, 242
HSL
191°, 89%, 54%
CMYK
86, 15, 0, 5
Luminance
0.5040

At a glance

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

Hex
#21cdf2
Hue
191°
cyan
Saturation
89%
electric
Lightness
54%
balanced
Brightness
95%
HSV value
Perceived
70%
weighted brightness
Luminance
0.5040
WCAG relative
Temperature
Cool
92/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
11.08:1
Closest name
Sky Blue
ΔE2000 7
Where it sits
Hue191° of 360°
Saturation89%
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#21cdf2
RGBrgb(33, 205, 242)
HSLhsl(191, 89%, 54%)
CMYKcmyk(86%, 15%, 0%, 5%)
LABlab(76.3 -28.0 -29.7)
LCHlch(76.3 40.8 226.7)
OKLCHoklch(0.784 0.136 217.7)
Decimal2215410
Display P3color(display-p3 0.129 0.804 0.949)

Copy-ready code

/* CSS */
color: #21cdf2;
background-color: #21cdf2;
/* Tailwind (arbitrary) */
class="text-[#21cdf2] bg-[#21cdf2]"
/* SCSS */
$brand: #21cdf2;
/* SwiftUI */
Color(red: 0.129, green: 0.804, blue: 0.949)
/* Android */
Color.parseColor("#21cdf2")
/* Flutter */
Color(0xFF21CDF2)
/* Python / OpenCV (BGR) */
(242, 205, 33)

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

Accessibility — WCAG contrast

Aa
#21cdf2 on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#21cdf2 on black: 11.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B5C7F4
deuteranopia · #9BB4F2
tritanopia · #00DAD9

Color scale — 50 to 950

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

#F2FBFD
#E5F7FB
#C4EFF8
#95E7F9
#60DBF6
#21cdf2
#0EC1E7
#0BA1C1
#09819A
#0B5E6F
#073A46
Base = 500Lightest = 50 · #F2FBFDDarkest = 950 · #073A46
:root {
  --brand-50: #F2FBFD;
  --brand-100: #E5F7FB;
  --brand-200: #C4EFF8;
  --brand-300: #95E7F9;
  --brand-400: #60DBF6;
  --brand-500: #21cdf2;
  --brand-600: #0EC1E7;
  --brand-700: #0BA1C1;
  --brand-800: #09819A;
  --brand-900: #0B5E6F;
  --brand-950: #073A46;
  --brand: #21cdf2;
  --brand-ink: #000000;
}

Colors that work with #21cdf2

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#C0E5ED
Hairlines and dividers
Muted text#4B8D9B
Captions on the surface
Accent#F71C2C
Second voice, not a rival
Dark variant#076478
Hover, pressed, headers
Light variant#E7FAFE
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 #21cdf2

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#F24621
Analogous left#21F2AE
Analogous right#2165F2
Split-complement 1#F22165
Split-complement 2#F2AE21
Triadic 1#F221CD
Triadic 2#CDF221
Tetradic#AE21F2

RGB percentages

Red12.9%
Green80.4%
Blue94.9%

CMYK percentages

Cyan86.4%
Magenta15.3%
Yellow0.0%
Key (black)5.1%

Color previews

#21cdf2 text on a black background

contrast 11.08:1

Card sample

#21cdf2 text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #21cdf2;
Background color
Panel with #21cdf2 background
background-color: #21cdf2;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(33, 205, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(33, 205, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #21cdf2;
background: linear-gradient(135deg, #21cdf2, #2142F2);

Monochromatic scale

Palettes built from #21cdf2

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.

#21cdf2 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.

#21cdf2, answered

What color is #21cdf2?

#21cdf2 is a balanced electric cyan, closest to Sky Blue (ΔE2000 7). It sits at 191° on the hue wheel with 89% saturation and 54% lightness, which reads as cool.

What is the RGB value of #21cdf2?

rgb(33, 205, 242) — 33 red, 205 green and 242 blue out of 255, or 12.9% / 80.4% / 94.9% by channel.

Is #21cdf2 a light or a dark color?

It is a light color. Relative luminance is 0.5040 and perceived brightness is 70%, so black text on it reaches 11.08:1.

Should I use black or white text on #21cdf2?

Black. It scores 11.08:1 against #21cdf2, versus 1.90:1 for white — AAA at any size.

What is the complementary color of #21cdf2?

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

What colors go well with #21cdf2?

For interface work: #F4F9FA as the surface, #C0E5ED for borders, #4B8D9B for secondary text, #F71C2C as an accent and #076478 for hover and pressed states. For a palette, the analogous pair #21F2AE and #2165F2 stays calm, while #F24621 is the loudest partner.

What is #21cdf2 in CMYK for printing?

cmyk(86%, 15%, 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 #21cdf2 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 #21F2CA; nudged cooler, #1FABF4.

Work with #21cdf2 in the Color Lab