Skip to content

#02f0fc

a balanced, electric cyan · cool · closest name: Cyan

RGB
2, 240, 252
HSL
183°, 98%, 50%
CMYK
99, 5, 0, 1
Luminance
0.6936

At a glance

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

Hex
#02f0fc
Hue
183°
cyan
Saturation
98%
electric
Lightness
50%
balanced
Brightness
99%
HSV value
Perceived
79%
weighted brightness
Luminance
0.6936
WCAG relative
Temperature
Cool
89/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
14.87:1
Closest name
Cyan
ΔE2000 4.9
Where it sits
Hue183° of 360°
Saturation98%
Lightness50%
Temperature
Warm ← → Cool89% 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#02f0fc
RGBrgb(2, 240, 252)
HSLhsl(183, 98%, 50%)
CMYKcmyk(99%, 5%, 0%, 1%)
LABlab(86.7 -42.4 -19.2)
LCHlch(86.7 46.5 204.4)
OKLCHoklch(0.869 0.148 201.3)
Decimal192764
Display P3color(display-p3 0.008 0.941 0.988)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#02f0fc on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#02f0fc on black: 14.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DCE5FD
deuteranopia · #C0D0FD
tritanopia · #00FAF3

Color scale — 50 to 950

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

#F1FDFE
#E3FBFC
#C1F8FB
#90F9FE
#58F6FE
#20F3FD
#02f0fc
#02C1CA
#019AA2
#066F75
#044649
Base = 600Lightest = 50 · #F1FDFEDarkest = 950 · #044649
:root {
  --brand-50: #F1FDFE;
  --brand-100: #E3FBFC;
  --brand-200: #C1F8FB;
  --brand-300: #90F9FE;
  --brand-400: #58F6FE;
  --brand-500: #20F3FD;
  --brand-600: #02f0fc;
  --brand-700: #02C1CA;
  --brand-800: #019AA2;
  --brand-900: #066F75;
  --brand-950: #044649;
  --brand: #02f0fc;
  --brand-ink: #000000;
}

Colors that work with #02f0fc

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#C0EAED
Hairlines and dividers
Muted text#4B979B
Captions on the surface
Accent#FE0033
Second voice, not a rival
Dark variant#01787E
Hover, pressed, headers
Light variant#E6FEFF
Selected rows, tints
Dark surface#142424
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 #02f0fc

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#FC0E02
Analogous left#02FC8B
Analogous right#0273FC
Split-complement 1#FC0273
Split-complement 2#FC8B02
Triadic 1#FC02F0
Triadic 2#F0FC02
Tetradic#8B02FC

RGB percentages

Red0.8%
Green94.1%
Blue98.8%

CMYK percentages

Cyan99.2%
Magenta4.8%
Yellow0.0%
Key (black)1.2%

Color previews

#02f0fc text on a black background

contrast 14.87:1

Card sample

#02f0fc text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #02f0fc

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.

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

#02f0fc, answered

What color is #02f0fc?

#02f0fc is a balanced electric cyan, closest to Cyan (ΔE2000 4.9). It sits at 183° on the hue wheel with 98% saturation and 50% lightness, which reads as cool.

What is the RGB value of #02f0fc?

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

Is #02f0fc a light or a dark color?

It is a light color. Relative luminance is 0.6936 and perceived brightness is 79%, so black text on it reaches 14.87:1.

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

Black. It scores 14.87:1 against #02f0fc, versus 1.41:1 for white — AAA at any size.

What is the complementary color of #02f0fc?

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

What colors go well with #02f0fc?

For interface work: #F4FAFA as the surface, #C0EAED for borders, #4B979B for secondary text, #FE0033 as an accent and #01787E for hover and pressed states. For a palette, the analogous pair #02FC8B and #0273FC stays calm, while #FC0E02 is the loudest partner.

What is #02f0fc in CMYK for printing?

cmyk(99%, 5%, 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 #02f0fc warm or cool?

Cool — it scores 89 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #02FCAC; nudged cooler, #00BDFE.

Work with #02f0fc in the Color Lab