Skip to content

#0cace4

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

RGB
12, 172, 228
HSL
196°, 90%, 47%
CMYK
95, 25, 0, 11
Luminance
0.3518

Every format

HEX#0cace4
RGBrgb(12, 172, 228)
HSLhsl(196, 90%, 47%)
CMYKcmyk(95%, 25%, 0%, 11%)
LABlab(65.9 -16.7 -38.3)
LCHlch(65.9 41.8 246.4)
OKLCHoklch(0.699 0.139 231.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cace4 on white: 2.61:1
AA ✗ fail · AA-large · AAA
Aa
#0cace4 on black: 8.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.7%
Green67.5%
Blue89.4%

CMYK percentages

Cyan94.7%
Magenta24.6%
Yellow0.0%
Key (black)10.6%

Color previews

#0cace4 text on a black background

contrast 8.04:1

Card sample

#0cace4 text on a white background

contrast 2.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cace4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0cace4 in the Color Lab