Skip to content

#0caccb

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

RGB
12, 172, 203
HSL
190°, 89%, 42%
CMYK
94, 15, 0, 20
Luminance
0.3390

At a glance

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

Hex
#0caccb
Hue
190°
cyan
Saturation
89%
electric
Lightness
42%
dark
Brightness
80%
HSV value
Perceived
58%
weighted brightness
Luminance
0.3390
WCAG relative
Temperature
Cool
92/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
7.78:1
Closest name
Deep Sky Blue
ΔE2000 10.2
Where it sits
Hue190° of 360°
Saturation89%
Lightness42%
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#0caccb
RGBrgb(12, 172, 203)
HSLhsl(190, 89%, 42%)
CMYKcmyk(94%, 15%, 0%, 20%)
LABlab(64.9 -25.4 -26.0)
LCHlch(64.9 36.4 225.7)
OKLCHoklch(0.687 0.121 217.0)
Decimal830667
Display P3color(display-p3 0.047 0.675 0.796)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0caccb on white: 2.70:1
AA ✗ fail · AA-large · AAA
Aa
#0caccb on black: 7.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #98A7CD
deuteranopia · #8196CB
tritanopia · #00B7B6

Color scale — 50 to 950

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

#F2FBFD
#E5F7FB
#C4F0F8
#95E9F9
#60DDF6
#2BD2F2
#0EC4E7
#0caccb
#09839A
#0B5F6F
#073B45
Base = 700Lightest = 50 · #F2FBFDDarkest = 950 · #073B45
:root {
  --brand-50: #F2FBFD;
  --brand-100: #E5F7FB;
  --brand-200: #C4F0F8;
  --brand-300: #95E9F9;
  --brand-400: #60DDF6;
  --brand-500: #2BD2F2;
  --brand-600: #0EC4E7;
  --brand-700: #0caccb;
  --brand-800: #09839A;
  --brand-900: #0B5F6F;
  --brand-950: #073B45;
  --brand: #0caccb;
  --brand-ink: #000000;
}

Colors that work with #0caccb

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#4B8E9B
Captions on the surface
Accent#CF0819
Second voice, not a rival
Dark variant#076678
Hover, pressed, headers
Light variant#E7FAFE
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 #0caccb

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
  • Headers, footers and dark-mode surfaces
  • 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
  • Black text placed on it
  • 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#CB2B0C
Analogous left#0CCB8B
Analogous right#0C4DCB
Split-complement 1#CB0C4D
Split-complement 2#CB8B0C
Triadic 1#CB0CAC
Triadic 2#ACCB0C
Tetradic#8B0CCB

RGB percentages

Red4.7%
Green67.5%
Blue79.6%

CMYK percentages

Cyan94.1%
Magenta15.3%
Yellow0.0%
Key (black)20.4%

Color previews

#0caccb text on a black background

contrast 7.78:1

Card sample

#0caccb text on a white background

contrast 2.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0caccb

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.

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

#0caccb, answered

What color is #0caccb?

#0caccb is a dark electric cyan, closest to Deep Sky Blue (ΔE2000 10.2). It sits at 190° on the hue wheel with 89% saturation and 42% lightness, which reads as cool.

What is the RGB value of #0caccb?

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

Is #0caccb a light or a dark color?

It is a mid-tone. Relative luminance is 0.3390 and perceived brightness is 58%, so black text on it reaches 7.78:1.

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

Black. It scores 7.78:1 against #0caccb, versus 2.70:1 for white — AAA at any size.

What is the complementary color of #0caccb?

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

What colors go well with #0caccb?

For interface work: #F4F9FA as the surface, #C0E5ED for borders, #4B8E9B for secondary text, #CF0819 as an accent and #076678 for hover and pressed states. For a palette, the analogous pair #0CCB8B and #0C4DCB stays calm, while #CB2B0C is the loudest partner.

What is #0caccb in CMYK for printing?

cmyk(94%, 15%, 0%, 20%). 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 #0caccb 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 #0CCBA4; nudged cooler, #0A8ACD.

Work with #0caccb in the Color Lab