Skip to content

#0cacda

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

RGB
12, 172, 218
HSL
193°, 90%, 45%
CMYK
95, 21, 0, 15
Luminance
0.3465

At a glance

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

Hex
#0cacda
Hue
193°
cyan
Saturation
90%
electric
Lightness
45%
balanced
Brightness
85%
HSV value
Perceived
59%
weighted brightness
Luminance
0.3465
WCAG relative
Temperature
Cool
93/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
7.93:1
Closest name
Deep Sky Blue
ΔE2000 6.6
Where it sits
Hue193° of 360°
Saturation90%
Lightness45%
Temperature
Warm ← → Cool93% 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#0cacda
RGBrgb(12, 172, 218)
HSLhsl(193, 90%, 45%)
CMYKcmyk(95%, 21%, 0%, 15%)
LABlab(65.5 -20.2 -33.4)
LCHlch(65.5 39.1 238.8)
OKLCHoklch(0.694 0.131 225.9)
Decimal830682
Display P3color(display-p3 0.047 0.675 0.855)

Copy-ready code

/* CSS */
color: #0cacda;
background-color: #0cacda;
/* Tailwind (arbitrary) */
class="text-[#0cacda] bg-[#0cacda]"
/* SCSS */
$brand: #0cacda;
/* SwiftUI */
Color(red: 0.047, green: 0.675, blue: 0.855)
/* Android */
Color.parseColor("#0cacda")
/* Flutter */
Color(0xFF0CACDA)
/* Python / OpenCV (BGR) */
(218, 172, 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 #0cacda · 7.93:1
Use #000000AAA at every size.
Aa
White text · 2.65:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.93:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #0cacda as text scores 2.65:1 on white and 7.93:1 on black.

Accessibility — WCAG contrast

Aa
#0cacda on white: 2.65:1
AA ✗ fail · AA-large · AAA
Aa
#0cacda on black: 7.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #93A9DC
deuteranopia · #7B97D9
tritanopia · #00B9BB

Color scale — 50 to 950

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

#F2FAFD
#E5F6FB
#C3ECF8
#95E3F9
#5FD5F6
#2AC6F3
#0cacda
#0B99C1
#087A9B
#0B5970
#073846
Base = 600Lightest = 50 · #F2FAFDDarkest = 950 · #073846
:root {
  --brand-50: #F2FAFD;
  --brand-100: #E5F6FB;
  --brand-200: #C3ECF8;
  --brand-300: #95E3F9;
  --brand-400: #5FD5F6;
  --brand-500: #2AC6F3;
  --brand-600: #0cacda;
  --brand-700: #0B99C1;
  --brand-800: #087A9B;
  --brand-900: #0B5970;
  --brand-950: #073846;
  --brand: #0cacda;
  --brand-ink: #000000;
}

Colors that work with #0cacda

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#C0E3ED
Hairlines and dividers
Muted text#4B899B
Captions on the surface
Accent#DF070D
Second voice, not a rival
Dark variant#075F79
Hover, pressed, headers
Light variant#E7F9FE
Selected rows, tints
Dark surface#142124
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 #0cacda

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#DA3A0C
Analogous left#0CDAA1
Analogous right#0C45DA
Split-complement 1#DA0C45
Split-complement 2#DAA10C
Triadic 1#DA0CAC
Triadic 2#ACDA0C
Tetradic#A10CDA

RGB percentages

Red4.7%
Green67.5%
Blue85.5%

CMYK percentages

Cyan94.5%
Magenta21.1%
Yellow0.0%
Key (black)14.5%

Color previews

#0cacda text on a black background

contrast 7.93:1

Card sample

#0cacda text on a white background

contrast 2.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cacda

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.

#0cacda 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.

#0cacda, answered

What color is #0cacda?

#0cacda is a balanced electric cyan, closest to Deep Sky Blue (ΔE2000 6.6). It sits at 193° on the hue wheel with 90% saturation and 45% lightness, which reads as cool.

What is the RGB value of #0cacda?

rgb(12, 172, 218) — 12 red, 172 green and 218 blue out of 255, or 4.7% / 67.5% / 85.5% by channel.

Is #0cacda a light or a dark color?

It is a mid-tone. Relative luminance is 0.3465 and perceived brightness is 59%, so black text on it reaches 7.93:1.

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

Black. It scores 7.93:1 against #0cacda, versus 2.65:1 for white — AAA at any size.

What is the complementary color of #0cacda?

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

What colors go well with #0cacda?

For interface work: #F4F9FA as the surface, #C0E3ED for borders, #4B899B for secondary text, #DF070D as an accent and #075F79 for hover and pressed states. For a palette, the analogous pair #0CDAA1 and #0C45DA stays calm, while #DA3A0C is the loudest partner.

What is #0cacda in CMYK for printing?

cmyk(95%, 21%, 0%, 15%). 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 #0cacda warm or cool?

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

Work with #0cacda in the Color Lab