Skip to content

#0af8ff

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

RGB
10, 248, 255
HSL
182°, 100%, 52%
CMYK
96, 3, 0, 0
Luminance
0.7442

Every format

HEX#0af8ff
RGBrgb(10, 248, 255)
HSLhsl(182, 100%, 52%)
CMYKcmyk(96%, 3%, 0%, 0%)
LABlab(89.1 -44.9 -17.1)
LCHlch(89.1 48.0 200.9)
OKLCHoklch(0.889 0.150 198.5)

Copy-ready code

/* CSS */
color: #0af8ff;
background-color: #0af8ff;
/* Tailwind (arbitrary) */
class="text-[#0af8ff] bg-[#0af8ff]"
/* SCSS */
$brand: #0af8ff;
/* SwiftUI */
Color(red: 0.039, green: 0.973, blue: 1.000)
/* Android */
Color.parseColor("#0af8ff")

Accessibility — WCAG contrast

Aa
#0af8ff on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#0af8ff on black: 15.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.9%
Green97.3%
Blue100.0%

CMYK percentages

Cyan96.1%
Magenta2.7%
Yellow0.0%
Key (black)0.0%

Color previews

#0af8ff text on a black background

contrast 15.88:1

Card sample

#0af8ff text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0af8ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0af8ff in the Color Lab