Skip to content

#0af1fd

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

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

Every format

HEX#0af1fd
RGBrgb(10, 241, 253)
HSLhsl(183, 98%, 52%)
CMYKcmyk(96%, 5%, 0%, 1%)
LABlab(87.0 -42.3 -19.2)
LCHlch(87.0 46.5 204.4)
OKLCHoklch(0.872 0.148 201.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0af1fd on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#0af1fd on black: 15.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.9%
Green94.5%
Blue99.2%

CMYK percentages

Cyan96.0%
Magenta4.7%
Yellow0.0%
Key (black)0.8%

Color previews

#0af1fd text on a black background

contrast 15.01:1

Card sample

#0af1fd text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0af1fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0af1fd in the Color Lab