Skip to content

#0af8fd

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

RGB
10, 248, 253
HSL
181°, 98%, 52%
CMYK
96, 2, 0, 1
Luminance
0.7429

At a glance

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

Hex
#0af8fd
Hue
181°
cyan
Saturation
98%
electric
Lightness
52%
balanced
Brightness
99%
HSV value
Perceived
82%
weighted brightness
Luminance
0.7429
WCAG relative
Temperature
Cool
88/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
15.86:1
Closest name
Cyan
ΔE2000 2.1
Where it sits
Hue181° of 360°
Saturation98%
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#0af8fd
RGBrgb(10, 248, 253)
HSLhsl(181, 98%, 52%)
CMYKcmyk(96%, 2%, 0%, 1%)
LABlab(89.1 -45.4 -16.2)
LCHlch(89.1 48.2 199.6)
OKLCHoklch(0.888 0.150 197.4)
Decimal719101
Display P3color(display-p3 0.039 0.973 0.992)

Copy-ready code

/* CSS */
color: #0af8fd;
background-color: #0af8fd;
/* Tailwind (arbitrary) */
class="text-[#0af8fd] bg-[#0af8fd]"
/* SCSS */
$brand: #0af8fd;
/* SwiftUI */
Color(red: 0.039, green: 0.973, blue: 0.992)
/* Android */
Color.parseColor("#0af8fd")
/* Flutter */
Color(0xFF0AF8FD)
/* Python / OpenCV (BGR) */
(253, 248, 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 #0af8fd · 15.86:1
Use #000000AAA at every size.
Aa
White text · 1.32:1
AA fail · AA large fail · AAA fail
Aa
Black text · 15.86:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #0af8fd as text scores 1.32:1 on white and 15.86:1 on black.

Accessibility — WCAG contrast

Aa
#0af8fd on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#0af8fd on black: 15.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E5ECFE
deuteranopia · #C9D7FE
tritanopia · #00FFF9

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #0af8fd 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
#E3FCFC
#C1FAFB
#90FCFE
#58FAFE
#20F9FD
#0af8fd
#02C6CA
#019FA2
#067275
#044749
Base = 600Lightest = 50 · #F1FDFEDarkest = 950 · #044749
:root {
  --brand-50: #F1FDFE;
  --brand-100: #E3FCFC;
  --brand-200: #C1FAFB;
  --brand-300: #90FCFE;
  --brand-400: #58FAFE;
  --brand-500: #20F9FD;
  --brand-600: #0af8fd;
  --brand-700: #02C6CA;
  --brand-800: #019FA2;
  --brand-900: #067275;
  --brand-950: #044749;
  --brand: #0af8fd;
  --brand-ink: #000000;
}

Colors that work with #0af8fd

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#4B999B
Captions on the surface
Accent#FF0841
Second voice, not a rival
Dark variant#017C7E
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 #0af8fd

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#FD0F0A
Analogous left#0AFD88
Analogous right#0A7FFD
Split-complement 1#FD0A7F
Split-complement 2#FD880A
Triadic 1#FD0AF8
Triadic 2#F8FD0A
Tetradic#880AFD

RGB percentages

Red3.9%
Green97.3%
Blue99.2%

CMYK percentages

Cyan96.0%
Magenta2.0%
Yellow0.0%
Key (black)0.8%

Color previews

#0af8fd text on a black background

contrast 15.86:1

Card sample

#0af8fd text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0af8fd

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.

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

#0af8fd, answered

What color is #0af8fd?

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

What is the RGB value of #0af8fd?

rgb(10, 248, 253) — 10 red, 248 green and 253 blue out of 255, or 3.9% / 97.3% / 99.2% by channel.

Is #0af8fd a light or a dark color?

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

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

Black. It scores 15.86:1 against #0af8fd, versus 1.32:1 for white — AAA at any size.

What is the complementary color of #0af8fd?

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

What colors go well with #0af8fd?

For interface work: #F4FAFA as the surface, #C0ECED for borders, #4B999B for secondary text, #FF0841 as an accent and #017C7E for hover and pressed states. For a palette, the analogous pair #0AFD88 and #0A7FFD stays calm, while #FD0F0A is the loudest partner.

What is #0af8fd in CMYK for printing?

cmyk(96%, 2%, 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 #0af8fd 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 #0AFDA9; nudged cooler, #08C3FF.

Work with #0af8fd in the Color Lab