Skip to content

#0af0fd

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

RGB
10, 240, 253
HSL
183°, 98%, 52%
CMYK
96, 5, 0, 1
Luminance
0.6948

Every format

HEX#0af0fd
RGBrgb(10, 240, 253)
HSLhsl(183, 98%, 52%)
CMYKcmyk(96%, 5%, 0%, 1%)
LABlab(86.7 -41.9 -19.7)
LCHlch(86.7 46.3 205.2)
OKLCHoklch(0.870 0.147 201.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0af0fd on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#0af0fd on black: 14.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.9%
Green94.1%
Blue99.2%

CMYK percentages

Cyan96.0%
Magenta5.1%
Yellow0.0%
Key (black)0.8%

Color previews

#0af0fd text on a black background

contrast 14.90:1

Card sample

#0af0fd text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0af0fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0af0fd in the Color Lab