Skip to content

#0af7fc

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

RGB
10, 247, 252
HSL
181°, 98%, 51%
CMYK
96, 2, 0, 1
Luminance
0.7361

Every format

HEX#0af7fc
RGBrgb(10, 247, 252)
HSLhsl(181, 98%, 51%)
CMYKcmyk(96%, 2%, 0%, 1%)
LABlab(88.7 -45.3 -16.1)
LCHlch(88.7 48.1 199.6)
OKLCHoklch(0.886 0.150 197.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0af7fc on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#0af7fc on black: 15.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.9%
Green96.9%
Blue98.8%

CMYK percentages

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

Color previews

#0af7fc text on a black background

contrast 15.72:1

Card sample

#0af7fc text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0af7fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0af7fc in the Color Lab