Skip to content

#0cd3fa

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

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

Every format

HEX#0cd3fa
RGBrgb(12, 211, 250)
HSLhsl(190, 96%, 51%)
CMYKcmyk(95%, 16%, 0%, 2%)
LABlab(78.2 -29.2 -31.1)
LCHlch(78.2 42.6 226.8)
OKLCHoklch(0.800 0.142 217.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cd3fa on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#0cd3fa on black: 11.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan95.2%
Magenta15.6%
Yellow0.0%
Key (black)2.0%

Color previews

#0cd3fa text on a black background

contrast 11.71:1

Card sample

#0cd3fa text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cd3fa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0cd3fa in the Color Lab