Skip to content

#02a9fc

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

RGB
2, 169, 252
HSL
200°, 98%, 50%
CMYK
99, 33, 0, 1
Luminance
0.3542

At a glance

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

Hex
#02a9fc
Hue
200°
cyan
Saturation
98%
electric
Lightness
50%
balanced
Brightness
99%
HSV value
Perceived
61%
weighted brightness
Luminance
0.3542
WCAG relative
Temperature
Cool
96/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
8.08:1
Closest name
Deep Sky Blue
ΔE2000 7.9
Where it sits
Hue200° of 360°
Saturation98%
Lightness50%
Temperature
Warm ← → Cool96% 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#02a9fc
RGBrgb(2, 169, 252)
HSLhsl(200, 98%, 50%)
CMYKcmyk(99%, 33%, 0%, 1%)
LABlab(66.1 -6.7 -51.1)
LCHlch(66.1 51.5 262.5)
OKLCHoklch(0.703 0.165 241.6)
Decimal174588
Display P3color(display-p3 0.008 0.663 0.988)

Copy-ready code

/* CSS */
color: #02a9fc;
background-color: #02a9fc;
/* Tailwind (arbitrary) */
class="text-[#02a9fc] bg-[#02a9fc]"
/* SCSS */
$brand: #02a9fc;
/* SwiftUI */
Color(red: 0.008, green: 0.663, blue: 0.988)
/* Android */
Color.parseColor("#02a9fc")
/* Flutter */
Color(0xFF02A9FC)
/* Python / OpenCV (BGR) */
(252, 169, 2)

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

Accessibility — WCAG contrast

Aa
#02a9fc on white: 2.60:1
AA ✗ fail · AA-large · AAA
Aa
#02a9fc on black: 8.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #81ABFF
deuteranopia · #6198FA
tritanopia · #00BEC7

Color scale — 50 to 950

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

#F1F9FE
#E3F4FC
#C1E8FB
#90D9FE
#58C7FE
#20B4FD
#02a9fc
#0288CA
#016DA2
#065075
#043249
Base = 600Lightest = 50 · #F1F9FEDarkest = 950 · #043249
:root {
  --brand-50: #F1F9FE;
  --brand-100: #E3F4FC;
  --brand-200: #C1E8FB;
  --brand-300: #90D9FE;
  --brand-400: #58C7FE;
  --brand-500: #20B4FD;
  --brand-600: #02a9fc;
  --brand-700: #0288CA;
  --brand-800: #016DA2;
  --brand-900: #065075;
  --brand-950: #043249;
  --brand: #02a9fc;
  --brand-ink: #000000;
}

Colors that work with #02a9fc

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#F4F8FA
Tinted page background
Border#C0DEED
Hairlines and dividers
Muted text#4B809B
Captions on the surface
Accent#FE1500
Second voice, not a rival
Dark variant#01557E
Hover, pressed, headers
Light variant#E6F6FF
Selected rows, tints
Dark surface#141F24
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 #02a9fc

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#FC5502
Analogous left#02FCD2
Analogous right#022CFC
Split-complement 1#FC022C
Split-complement 2#FCD202
Triadic 1#FC02A9
Triadic 2#A9FC02
Tetradic#D202FC

RGB percentages

Red0.8%
Green66.3%
Blue98.8%

CMYK percentages

Cyan99.2%
Magenta32.9%
Yellow0.0%
Key (black)1.2%

Color previews

#02a9fc text on a black background

contrast 8.08:1

Card sample

#02a9fc text on a white background

contrast 2.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #02a9fc;
Background color
Panel with #02a9fc background
background-color: #02a9fc;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(2, 169, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(2, 169, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #02a9fc;
background: linear-gradient(135deg, #02a9fc, #0202FC);

Monochromatic scale

Palettes built from #02a9fc

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.

#02a9fc 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.

#02a9fc, answered

What color is #02a9fc?

#02a9fc is a balanced electric cyan, closest to Deep Sky Blue (ΔE2000 7.9). It sits at 200° on the hue wheel with 98% saturation and 50% lightness, which reads as cool.

What is the RGB value of #02a9fc?

rgb(2, 169, 252) — 2 red, 169 green and 252 blue out of 255, or 0.8% / 66.3% / 98.8% by channel.

Is #02a9fc a light or a dark color?

It is a mid-tone. Relative luminance is 0.3542 and perceived brightness is 61%, so black text on it reaches 8.08:1.

Should I use black or white text on #02a9fc?

Black. It scores 8.08:1 against #02a9fc, versus 2.60:1 for white — AAA at any size.

What is the complementary color of #02a9fc?

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

What colors go well with #02a9fc?

For interface work: #F4F8FA as the surface, #C0DEED for borders, #4B809B for secondary text, #FE1500 as an accent and #01557E for hover and pressed states. For a palette, the analogous pair #02FCD2 and #022CFC stays calm, while #FC5502 is the loudest partner.

What is #02a9fc in CMYK for printing?

cmyk(99%, 33%, 0%, 1%). 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 #02a9fc warm or cool?

Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #02FCF3; nudged cooler, #0085E4.

Work with #02a9fc in the Color Lab