Skip to content

#0afdf2

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

RGB
10, 253, 242
HSL
177°, 98%, 52%
CMYK
96, 0, 4, 1
Luminance
0.7673

Every format

HEX#0afdf2
RGBrgb(10, 253, 242)
HSLhsl(177, 98%, 52%)
CMYKcmyk(96%, 0%, 4%, 1%)
LABlab(90.2 -50.7 -8.8)
LCHlch(90.2 51.5 189.8)
OKLCHoklch(0.897 0.155 189.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0afdf2 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#0afdf2 on black: 16.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.9%
Green99.2%
Blue94.9%

CMYK percentages

Cyan96.0%
Magenta0.0%
Yellow4.3%
Key (black)0.8%

Color previews

#0afdf2 text on a black background

contrast 16.35:1

Card sample

#0afdf2 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0afdf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0afdf2 in the Color Lab