Skip to content

#0afceb

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

RGB
10, 252, 235
HSL
176°, 98%, 51%
CMYK
96, 0, 7, 1
Luminance
0.7568

At a glance

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

Hex
#0afceb
Hue
176°
cyan
Saturation
98%
electric
Lightness
51%
balanced
Brightness
99%
HSV value
Perceived
82%
weighted brightness
Luminance
0.7568
WCAG relative
Temperature
Cool
86/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
16.14:1
Closest name
Cyan
ΔE2000 5.3
Where it sits
Hue176° of 360°
Saturation98%
Lightness51%
Temperature
Warm ← → Cool86% 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#0afceb
RGBrgb(10, 252, 235)
HSLhsl(176, 98%, 51%)
CMYKcmyk(96%, 0%, 7%, 1%)
LABlab(89.7 -52.2 -5.8)
LCHlch(89.7 52.5 186.4)
OKLCHoklch(0.892 0.156 186.1)
Decimal720107
Display P3color(display-p3 0.039 0.988 0.922)

Copy-ready code

/* CSS */
color: #0afceb;
background-color: #0afceb;
/* Tailwind (arbitrary) */
class="text-[#0afceb] bg-[#0afceb]"
/* SCSS */
$brand: #0afceb;
/* SwiftUI */
Color(red: 0.039, green: 0.988, blue: 0.922)
/* Android */
Color.parseColor("#0afceb")
/* Flutter */
Color(0xFF0AFCEB)
/* Python / OpenCV (BGR) */
(235, 252, 10)

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

Accessibility — WCAG contrast

Aa
#0afceb on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#0afceb on black: 16.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EEEDEB
deuteranopia · #D3D9ED
tritanopia · #00FFF6

Color scale — 50 to 950

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

#F1FDFD
#E4FCFA
#C1FBF7
#90FEF6
#59FDF1
#21FCED
#0afceb
#02CABC
#02A196
#06746C
#044944
Base = 600Lightest = 50 · #F1FDFDDarkest = 950 · #044944
:root {
  --brand-50: #F1FDFD;
  --brand-100: #E4FCFA;
  --brand-200: #C1FBF7;
  --brand-300: #90FEF6;
  --brand-400: #59FDF1;
  --brand-500: #21FCED;
  --brand-600: #0afceb;
  --brand-700: #02CABC;
  --brand-800: #02A196;
  --brand-900: #06746C;
  --brand-950: #044944;
  --brand: #0afceb;
  --brand-ink: #000000;
}

Colors that work with #0afceb

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#C0EDE9
Hairlines and dividers
Muted text#4B9B95
Captions on the surface
Accent#FF0756
Second voice, not a rival
Dark variant#027E75
Hover, pressed, headers
Light variant#E6FFFD
Selected rows, tints
Dark surface#142423
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 #0afceb

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#FC0A1B
Analogous left#0AFC72
Analogous right#0A94FC
Split-complement 1#FC0A94
Split-complement 2#FC720A
Triadic 1#EB0AFC
Triadic 2#FCEB0A
Tetradic#720AFC

RGB percentages

Red3.9%
Green98.8%
Blue92.2%

CMYK percentages

Cyan96.0%
Magenta0.0%
Yellow6.7%
Key (black)1.2%

Color previews

#0afceb text on a black background

contrast 16.14:1

Card sample

#0afceb text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(10, 252, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(10, 252, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0afceb;
background: linear-gradient(135deg, #0afceb, #0A6CFC);

Monochromatic scale

Palettes built from #0afceb

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.

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

#0afceb, answered

What color is #0afceb?

#0afceb is a balanced electric cyan, closest to Cyan (ΔE2000 5.3). It sits at 176° on the hue wheel with 98% saturation and 51% lightness, which reads as cool.

What is the RGB value of #0afceb?

rgb(10, 252, 235) — 10 red, 252 green and 235 blue out of 255, or 3.9% / 98.8% / 92.2% by channel.

Is #0afceb a light or a dark color?

It is a light color. Relative luminance is 0.7568 and perceived brightness is 82%, so black text on it reaches 16.14:1.

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

Black. It scores 16.14:1 against #0afceb, versus 1.30:1 for white — AAA at any size.

What is the complementary color of #0afceb?

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

What colors go well with #0afceb?

For interface work: #F4FAFA as the surface, #C0EDE9 for borders, #4B9B95 for secondary text, #FF0756 as an accent and #027E75 for hover and pressed states. For a palette, the analogous pair #0AFC72 and #0A94FC stays calm, while #FC0A1B is the loudest partner.

What is #0afceb in CMYK for printing?

cmyk(96%, 0%, 7%, 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 #0afceb warm or cool?

Cool — it scores 86 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0AFC92; nudged cooler, #08CCFF.

Work with #0afceb in the Color Lab