Skip to content

#0cfbfe

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

RGB
12, 251, 254
HSL
181°, 99%, 52%
CMYK
95, 1, 0, 0
Luminance
0.7623

At a glance

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

Hex
#0cfbfe
Hue
181°
cyan
Saturation
99%
electric
Lightness
52%
balanced
Brightness
100%
HSV value
Perceived
83%
weighted brightness
Luminance
0.7623
WCAG relative
Temperature
Cool
88/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
16.25:1
Closest name
Cyan
ΔE2000 1.2
Where it sits
Hue181° of 360°
Saturation99%
Lightness52%
Temperature
Warm ← → Cool88% 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#0cfbfe
RGBrgb(12, 251, 254)
HSLhsl(181, 99%, 52%)
CMYKcmyk(95%, 1%, 0%, 0%)
LABlab(90.0 -46.4 -15.3)
LCHlch(90.0 48.9 198.3)
OKLCHoklch(0.896 0.152 196.3)
Decimal850942
Display P3color(display-p3 0.047 0.984 0.996)

Copy-ready code

/* CSS */
color: #0cfbfe;
background-color: #0cfbfe;
/* Tailwind (arbitrary) */
class="text-[#0cfbfe] bg-[#0cfbfe]"
/* SCSS */
$brand: #0cfbfe;
/* SwiftUI */
Color(red: 0.047, green: 0.984, blue: 0.996)
/* Android */
Color.parseColor("#0cfbfe")
/* Flutter */
Color(0xFF0CFBFE)
/* Python / OpenCV (BGR) */
(254, 251, 12)

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

Accessibility — WCAG contrast

Aa
#0cfbfe on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#0cfbfe on black: 16.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E9EEFF
deuteranopia · #CCD9FF
tritanopia · #00FFFB

Color scale — 50 to 950

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

#F1FDFE
#E3FCFC
#C0FBFB
#8FFDFF
#57FCFE
#0cfbfe
#01F1F4
#01C9CB
#01A1A3
#057475
#034849
Base = 500Lightest = 50 · #F1FDFEDarkest = 950 · #034849
:root {
  --brand-50: #F1FDFE;
  --brand-100: #E3FCFC;
  --brand-200: #C0FBFB;
  --brand-300: #8FFDFF;
  --brand-400: #57FCFE;
  --brand-500: #0cfbfe;
  --brand-600: #01F1F4;
  --brand-700: #01C9CB;
  --brand-800: #01A1A3;
  --brand-900: #057475;
  --brand-950: #034849;
  --brand: #0cfbfe;
  --brand-ink: #000000;
}

Colors that work with #0cfbfe

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#C0ECED
Hairlines and dividers
Muted text#4B9A9B
Captions on the surface
Accent#FF0B45
Second voice, not a rival
Dark variant#017E7F
Hover, pressed, headers
Light variant#E6FFFF
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 #0cfbfe

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#FE0F0C
Analogous left#0CFE88
Analogous right#0C82FE
Split-complement 1#FE0C82
Split-complement 2#FE880C
Triadic 1#FE0CFB
Triadic 2#FBFE0C
Tetradic#880CFE

RGB percentages

Red4.7%
Green98.4%
Blue99.6%

CMYK percentages

Cyan95.3%
Magenta1.2%
Yellow0.0%
Key (black)0.4%

Color previews

#0cfbfe text on a black background

contrast 16.25:1

Card sample

#0cfbfe text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0cfbfe;
Background color
Panel with #0cfbfe background
background-color: #0cfbfe;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(12, 251, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 251, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0cfbfe;
background: linear-gradient(135deg, #0cfbfe, #0C5AFE);

Monochromatic scale

Palettes built from #0cfbfe

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.

#0cfbfe 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.

#0cfbfe, answered

What color is #0cfbfe?

#0cfbfe is a balanced electric cyan, closest to Cyan (ΔE2000 1.2). It sits at 181° on the hue wheel with 99% saturation and 52% lightness, which reads as cool.

What is the RGB value of #0cfbfe?

rgb(12, 251, 254) — 12 red, 251 green and 254 blue out of 255, or 4.7% / 98.4% / 99.6% by channel.

Is #0cfbfe a light or a dark color?

It is a light color. Relative luminance is 0.7623 and perceived brightness is 83%, so black text on it reaches 16.25:1.

Should I use black or white text on #0cfbfe?

Black. It scores 16.25:1 against #0cfbfe, versus 1.29:1 for white — AAA at any size.

What is the complementary color of #0cfbfe?

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

What colors go well with #0cfbfe?

For interface work: #F4FAFA as the surface, #C0ECED for borders, #4B9A9B for secondary text, #FF0B45 as an accent and #017E7F for hover and pressed states. For a palette, the analogous pair #0CFE88 and #0C82FE stays calm, while #FE0F0C is the loudest partner.

What is #0cfbfe in CMYK for printing?

cmyk(95%, 1%, 0%, 0%). 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 #0cfbfe warm or cool?

Cool — it scores 88 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0CFEA8; nudged cooler, #0BC4FF.

Work with #0cfbfe in the Color Lab