Skip to content

#02accb

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

RGB
2, 172, 203
HSL
189°, 98%, 40%
CMYK
99, 15, 0, 20
Luminance
0.3383

At a glance

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

Hex
#02accb
Hue
189°
cyan
Saturation
98%
electric
Lightness
40%
dark
Brightness
80%
HSV value
Perceived
58%
weighted brightness
Luminance
0.3383
WCAG relative
Temperature
Cool
91/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
7.77:1
Closest name
Deep Sky Blue
ΔE2000 10.3
Where it sits
Hue189° of 360°
Saturation98%
Lightness40%
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#02accb
RGBrgb(2, 172, 203)
HSLhsl(189, 98%, 40%)
CMYKcmyk(99%, 15%, 0%, 20%)
LABlab(64.8 -25.7 -26.1)
LCHlch(64.8 36.6 225.5)
OKLCHoklch(0.686 0.122 216.8)
Decimal175307
Display P3color(display-p3 0.008 0.675 0.796)

Copy-ready code

/* CSS */
color: #02accb;
background-color: #02accb;
/* Tailwind (arbitrary) */
class="text-[#02accb] bg-[#02accb]"
/* SCSS */
$brand: #02accb;
/* SwiftUI */
Color(red: 0.008, green: 0.675, blue: 0.796)
/* Android */
Color.parseColor("#02accb")
/* Flutter */
Color(0xFF02ACCB)
/* Python / OpenCV (BGR) */
(203, 172, 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 #02accb · 7.77:1
Use #000000AAA at every size.
Aa
White text · 2.70:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.77:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #02accb as text scores 2.70:1 on white and 7.77:1 on black.

Accessibility — WCAG contrast

Aa
#02accb on white: 2.70:1
AA ✗ fail · AA-large · AAA
Aa
#02accb on black: 7.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #98A6CD
deuteranopia · #8196CB
tritanopia · #00B7B6

Color scale — 50 to 950

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

#F1FCFD
#E3F8FC
#C1F2FB
#90EDFE
#58E4FD
#21DBFD
#02CDF2
#02accb
#0289A2
#066374
#043E49
Base = 700Lightest = 50 · #F1FCFDDarkest = 950 · #043E49
:root {
  --brand-50: #F1FCFD;
  --brand-100: #E3F8FC;
  --brand-200: #C1F2FB;
  --brand-300: #90EDFE;
  --brand-400: #58E4FD;
  --brand-500: #21DBFD;
  --brand-600: #02CDF2;
  --brand-700: #02accb;
  --brand-800: #0289A2;
  --brand-900: #066374;
  --brand-950: #043E49;
  --brand: #02accb;
  --brand-ink: #000000;
}

Colors that work with #02accb

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#C0E6ED
Hairlines and dividers
Muted text#4B8E9B
Captions on the surface
Accent#CD0013
Second voice, not a rival
Dark variant#016B7E
Hover, pressed, headers
Light variant#E6FBFF
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 #02accb

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
  • Headers, footers and dark-mode surfaces
  • 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
  • Black text placed on it
  • 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#CB2102
Analogous left#02CB86
Analogous right#0247CB
Split-complement 1#CB0247
Split-complement 2#CB8602
Triadic 1#CB02AC
Triadic 2#ACCB02
Tetradic#8602CB

RGB percentages

Red0.8%
Green67.5%
Blue79.6%

CMYK percentages

Cyan99.0%
Magenta15.3%
Yellow0.0%
Key (black)20.4%

Color previews

#02accb text on a black background

contrast 7.77:1

Card sample

#02accb text on a white background

contrast 2.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(2, 172, 203, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(2, 172, 203, 0.45);
Border & gradient
Gradient panel
border: 3px solid #02accb;
background: linear-gradient(135deg, #02accb, #0226CB);

Monochromatic scale

Palettes built from #02accb

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.

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

#02accb, answered

What color is #02accb?

#02accb is a dark electric cyan, closest to Deep Sky Blue (ΔE2000 10.3). It sits at 189° on the hue wheel with 98% saturation and 40% lightness, which reads as cool.

What is the RGB value of #02accb?

rgb(2, 172, 203) — 2 red, 172 green and 203 blue out of 255, or 0.8% / 67.5% / 79.6% by channel.

Is #02accb a light or a dark color?

It is a mid-tone. Relative luminance is 0.3383 and perceived brightness is 58%, so black text on it reaches 7.77:1.

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

Black. It scores 7.77:1 against #02accb, versus 2.70:1 for white — AAA at any size.

What is the complementary color of #02accb?

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

What colors go well with #02accb?

For interface work: #F4F9FA as the surface, #C0E6ED for borders, #4B8E9B for secondary text, #CD0013 as an accent and #016B7E for hover and pressed states. For a palette, the analogous pair #02CB86 and #0247CB stays calm, while #CB2102 is the loudest partner.

What is #02accb in CMYK for printing?

cmyk(99%, 15%, 0%, 20%). 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 #02accb 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 #02CBA0; nudged cooler, #0088CD.

Work with #02accb in the Color Lab