Skip to content

#0cd4fd

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

RGB
12, 212, 253
HSL
190°, 98%, 52%
CMYK
95, 16, 0, 1
Luminance
0.5426

At a glance

Every number on this page in one read: what #0cd4fd is made of, how bright it looks, and which way it leans.

Hex
#0cd4fd
Hue
190°
cyan
Saturation
98%
electric
Lightness
52%
balanced
Brightness
99%
HSV value
Perceived
72%
weighted brightness
Luminance
0.5426
WCAG relative
Temperature
Cool
92/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
11.85:1
Closest name
Sky Blue
ΔE2000 7.2
Where it sits
Hue190° of 360°
Saturation98%
Lightness52%
Temperature
Warm ← → Cool92% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#0cd4fd
RGBrgb(12, 212, 253)
HSLhsl(190, 98%, 52%)
CMYKcmyk(95%, 16%, 0%, 1%)
LABlab(78.6 -28.7 -32.1)
LCHlch(78.6 43.0 228.1)
OKLCHoklch(0.804 0.144 218.7)
Decimal840957
Display P3color(display-p3 0.047 0.831 0.992)

Copy-ready code

/* CSS */
color: #0cd4fd;
background-color: #0cd4fd;
/* Tailwind (arbitrary) */
class="text-[#0cd4fd] bg-[#0cd4fd]"
/* SCSS */
$brand: #0cd4fd;
/* SwiftUI */
Color(red: 0.047, green: 0.831, blue: 0.992)
/* Android */
Color.parseColor("#0cd4fd")
/* Flutter */
Color(0xFF0CD4FD)
/* Python / OpenCV (BGR) */
(253, 212, 12)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #0cd4fd · 11.85:1
Use #000000AAA at every size.
Aa
White text · 1.77:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.85:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #0cd4fd as text scores 1.77:1 on white and 11.85:1 on black.

Accessibility — WCAG contrast

Aa
#0cd4fd on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#0cd4fd on black: 11.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BACEFF
deuteranopia · #9EBAFD
tritanopia · #00E2E1

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #0cd4fd is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F1FBFE
#E3F8FC
#C1F1FB
#90EBFE
#58E2FE
#0cd4fd
#02CAF3
#02A8CA
#0187A2
#066275
#043D49
Base = 500Lightest = 50 · #F1FBFEDarkest = 950 · #043D49
:root {
  --brand-50: #F1FBFE;
  --brand-100: #E3F8FC;
  --brand-200: #C1F1FB;
  --brand-300: #90EBFE;
  --brand-400: #58E2FE;
  --brand-500: #0cd4fd;
  --brand-600: #02CAF3;
  --brand-700: #02A8CA;
  --brand-800: #0187A2;
  --brand-900: #066275;
  --brand-950: #043D49;
  --brand: #0cd4fd;
  --brand-ink: #000000;
}

Colors that work with #0cd4fd

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F9FA
Tinted page background
Border#C0E5ED
Hairlines and dividers
Muted text#4B8D9B
Captions on the surface
Accent#FF0A1E
Second voice, not a rival
Dark variant#01697E
Hover, pressed, headers
Light variant#E6FBFF
Selected rows, tints
Dark surface#142224
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #0cd4fd

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#FD350C
Analogous left#0CFDAE
Analogous right#0C5CFD
Split-complement 1#FD0C5C
Split-complement 2#FDAE0C
Triadic 1#FD0CD4
Triadic 2#D4FD0C
Tetradic#AE0CFD

RGB percentages

Red4.7%
Green83.1%
Blue99.2%

CMYK percentages

Cyan95.3%
Magenta16.2%
Yellow0.0%
Key (black)0.8%

Color previews

#0cd4fd text on a black background

contrast 11.85:1

Card sample

#0cd4fd text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cd4fd

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#0cd4fd in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyTravelHealthcareMedia
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#0cd4fd, answered

What color is #0cd4fd?

#0cd4fd is a balanced electric cyan, closest to Sky Blue (ΔE2000 7.2). It sits at 190° on the hue wheel with 98% saturation and 52% lightness, which reads as cool.

What is the RGB value of #0cd4fd?

rgb(12, 212, 253) — 12 red, 212 green and 253 blue out of 255, or 4.7% / 83.1% / 99.2% by channel.

Is #0cd4fd a light or a dark color?

It is a light color. Relative luminance is 0.5426 and perceived brightness is 72%, so black text on it reaches 11.85:1.

Should I use black or white text on #0cd4fd?

Black. It scores 11.85:1 against #0cd4fd, versus 1.77:1 for white — AAA at any size.

What is the complementary color of #0cd4fd?

#FD350C sits directly opposite on the wheel. Softer options are the split-complements #FD0C5C and #FDAE0C, which give the same contrast with far less vibration.

What colors go well with #0cd4fd?

For interface work: #F4F9FA as the surface, #C0E5ED for borders, #4B8D9B for secondary text, #FF0A1E as an accent and #01697E for hover and pressed states. For a palette, the analogous pair #0CFDAE and #0C5CFD stays calm, while #FD350C is the loudest partner.

What is #0cd4fd in CMYK for printing?

cmyk(95%, 16%, 0%, 1%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #0cd4fd warm or cool?

Cool — it scores 92 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0CFDCE; nudged cooler, #0AAEFF.

Work with #0cd4fd in the Color Lab