Skip to content

#0af5ff

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

RGB
10, 245, 255
HSL
182°, 100%, 52%
CMYK
96, 4, 0, 0
Luminance
0.7259

Every format

HEX#0af5ff
RGBrgb(10, 245, 255)
HSLhsl(182, 100%, 52%)
CMYKcmyk(96%, 4%, 0%, 0%)
LABlab(88.3 -43.5 -18.4)
LCHlch(88.3 47.3 202.9)
OKLCHoklch(0.882 0.149 200.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0af5ff on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#0af5ff on black: 15.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.9%
Green96.1%
Blue100.0%

CMYK percentages

Cyan96.1%
Magenta3.9%
Yellow0.0%
Key (black)0.0%

Color previews

#0af5ff text on a black background

contrast 15.52:1

Card sample

#0af5ff text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0af5ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0af5ff in the Color Lab