Skip to content

#0cabeb

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

RGB
12, 171, 235
HSL
197°, 90%, 48%
CMYK
95, 27, 0, 8
Luminance
0.3520

Every format

HEX#0cabeb
RGBrgb(12, 171, 235)
HSLhsl(197, 90%, 48%)
CMYKcmyk(95%, 27%, 0%, 8%)
LABlab(65.9 -13.7 -42.1)
LCHlch(65.9 44.3 251.9)
OKLCHoklch(0.700 0.146 234.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red4.7%
Green67.1%
Blue92.2%

CMYK percentages

Cyan94.9%
Magenta27.2%
Yellow0.0%
Key (black)7.8%

Color previews

#0cabeb text on a black background

contrast 8.04:1

Card sample

#0cabeb text on a white background

contrast 2.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cabeb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0cabeb in the Color Lab