Skip to content

#0cecff

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

RGB
12, 236, 255
HSL
185°, 100%, 52%
CMYK
95, 8, 0, 0
Luminance
0.6729

Every format

HEX#0cecff
RGBrgb(12, 236, 255)
HSLhsl(185, 100%, 52%)
CMYKcmyk(95%, 8%, 0%, 0%)
LABlab(85.7 -39.4 -22.4)
LCHlch(85.7 45.3 209.6)
OKLCHoklch(0.861 0.146 205.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cecff on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#0cecff on black: 14.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.7%
Green92.5%
Blue100.0%

CMYK percentages

Cyan95.3%
Magenta7.5%
Yellow0.0%
Key (black)0.0%

Color previews

#0cecff text on a black background

contrast 14.46:1

Card sample

#0cecff text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cecff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0cecff in the Color Lab