Skip to content

#00afff

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

RGB
0, 175, 255
HSL
199°, 100%, 50%
CMYK
100, 31, 0, 0
Luminance
0.3788

Every format

HEX#00afff
RGBrgb(0, 175, 255)
HSLhsl(199, 100%, 50%)
CMYKcmyk(100%, 31%, 0%, 0%)
LABlab(67.9 -9.0 -49.8)
LCHlch(67.9 50.6 259.7)
OKLCHoklch(0.719 0.164 239.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#00afff on white: 2.45:1
AA ✗ fail · AA-large · AAA
Aa
#00afff on black: 8.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green68.6%
Blue100.0%

CMYK percentages

Cyan100.0%
Magenta31.4%
Yellow0.0%
Key (black)0.0%

Color previews

#00afff text on a black background

contrast 8.58:1

Card sample

#00afff text on a white background

contrast 2.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #00afff;
Background color
Panel with #00afff background
background-color: #00afff;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #00afff;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(0, 175, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 175, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #00afff;
background: linear-gradient(135deg, #00afff, #0005FF);

Monochromatic scale

Palettes built from #00afff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #00afff in the Color Lab