Skip to content

#0cd2fa

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

RGB
12, 210, 250
HSL
190°, 96%, 51%
CMYK
95, 16, 0, 2
Luminance
0.5307

Every format

HEX#0cd2fa
RGBrgb(12, 210, 250)
HSLhsl(190, 96%, 51%)
CMYKcmyk(95%, 16%, 0%, 2%)
LABlab(77.9 -28.7 -31.5)
LCHlch(77.9 42.6 227.7)
OKLCHoklch(0.798 0.142 218.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cd2fa on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#0cd2fa on black: 11.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.7%
Green82.4%
Blue98.0%

CMYK percentages

Cyan95.2%
Magenta16.0%
Yellow0.0%
Key (black)2.0%

Color previews

#0cd2fa text on a black background

contrast 11.61:1

Card sample

#0cd2fa text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cd2fa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0cd2fa in the Color Lab