Skip to content

#0facf4

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

RGB
15, 172, 244
HSL
199°, 91%, 51%
CMYK
94, 30, 0, 4
Luminance
0.3614

Every format

HEX#0facf4
RGBrgb(15, 172, 244)
HSLhsl(199, 91%, 51%)
CMYKcmyk(94%, 30%, 0%, 4%)
LABlab(66.6 -10.9 -45.9)
LCHlch(66.6 47.2 256.6)
OKLCHoklch(0.707 0.154 237.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0facf4 on white: 2.55:1
AA ✗ fail · AA-large · AAA
Aa
#0facf4 on black: 8.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green67.5%
Blue95.7%

CMYK percentages

Cyan93.9%
Magenta29.5%
Yellow0.0%
Key (black)4.3%

Color previews

#0facf4 text on a black background

contrast 8.23:1

Card sample

#0facf4 text on a white background

contrast 2.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(15, 172, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 172, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0facf4;
background: linear-gradient(135deg, #0facf4, #0F13F4);

Monochromatic scale

Palettes built from #0facf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0facf4 in the Color Lab