Skip to content

#0cabdf

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

RGB
12, 171, 223
HSL
195°, 90%, 46%
CMYK
95, 23, 0, 13
Luminance
0.3453

Every format

HEX#0cabdf
RGBrgb(12, 171, 223)
HSLhsl(195, 90%, 46%)
CMYKcmyk(95%, 23%, 0%, 13%)
LABlab(65.4 -18.0 -36.3)
LCHlch(65.4 40.5 243.7)
OKLCHoklch(0.694 0.135 229.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cabdf on white: 2.66:1
AA ✗ fail · AA-large · AAA
Aa
#0cabdf on black: 7.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.7%
Green67.1%
Blue87.5%

CMYK percentages

Cyan94.6%
Magenta23.3%
Yellow0.0%
Key (black)12.5%

Color previews

#0cabdf text on a black background

contrast 7.91:1

Card sample

#0cabdf text on a white background

contrast 2.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cabdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0cabdf in the Color Lab