Skip to content

#0cb5df

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

RGB
12, 181, 223
HSL
192°, 90%, 46%
CMYK
95, 19, 0, 13
Luminance
0.3845

At a glance

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

Hex
#0cb5df
Hue
192°
cyan
Saturation
90%
electric
Lightness
46%
balanced
Brightness
87%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3845
WCAG relative
Temperature
Cool
92/100 cool
Color family
Cyan
Tone
Electric
Best ink
Black
8.69:1
Closest name
Deep Sky Blue
ΔE2000 6.2
Where it sits
Hue192° of 360°
Saturation90%
Lightness46%
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#0cb5df
RGBrgb(12, 181, 223)
HSLhsl(192, 90%, 46%)
CMYKcmyk(95%, 19%, 0%, 13%)
LABlab(68.3 -23.2 -31.7)
LCHlch(68.3 39.3 233.8)
OKLCHoklch(0.718 0.132 222.6)
Decimal832991
Display P3color(display-p3 0.047 0.710 0.875)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0cb5df on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#0cb5df on black: 8.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9DB1E1
deuteranopia · #849FDF
tritanopia · #00C2C3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #0cb5df 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.

#F2FBFD
#E5F6FB
#C3EEF8
#95E5F9
#5FD8F6
#2ACCF4
#0cb5df
#0A9DC2
#087E9B
#0B5C70
#073946
Base = 600Lightest = 50 · #F2FBFDDarkest = 950 · #073946
:root {
  --brand-50: #F2FBFD;
  --brand-100: #E5F6FB;
  --brand-200: #C3EEF8;
  --brand-300: #95E5F9;
  --brand-400: #5FD8F6;
  --brand-500: #2ACCF4;
  --brand-600: #0cb5df;
  --brand-700: #0A9DC2;
  --brand-800: #087E9B;
  --brand-900: #0B5C70;
  --brand-950: #073946;
  --brand: #0cb5df;
  --brand-ink: #000000;
}

Colors that work with #0cb5df

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#C0E4ED
Hairlines and dividers
Muted text#4B8B9B
Captions on the surface
Accent#E40713
Second voice, not a rival
Dark variant#076279
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 #0cb5df

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#DF360C
Analogous left#0CDF9F
Analogous right#0C4CDF
Split-complement 1#DF0C4C
Split-complement 2#DF9F0C
Triadic 1#DF0CB5
Triadic 2#B5DF0C
Tetradic#9F0CDF

RGB percentages

Red4.7%
Green71.0%
Blue87.5%

CMYK percentages

Cyan94.6%
Magenta18.8%
Yellow0.0%
Key (black)12.5%

Color previews

#0cb5df text on a black background

contrast 8.69:1

Card sample

#0cb5df text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0cb5df

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.

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

#0cb5df, answered

What color is #0cb5df?

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

What is the RGB value of #0cb5df?

rgb(12, 181, 223) — 12 red, 181 green and 223 blue out of 255, or 4.7% / 71% / 87.5% by channel.

Is #0cb5df a light or a dark color?

It is a mid-tone. Relative luminance is 0.3845 and perceived brightness is 62%, so black text on it reaches 8.69:1.

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

Black. It scores 8.69:1 against #0cb5df, versus 2.42:1 for white — AAA at any size.

What is the complementary color of #0cb5df?

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

What colors go well with #0cb5df?

For interface work: #F4F9FA as the surface, #C0E4ED for borders, #4B8B9B for secondary text, #E40713 as an accent and #076279 for hover and pressed states. For a palette, the analogous pair #0CDF9F and #0C4CDF stays calm, while #DF360C is the loudest partner.

What is #0cb5df in CMYK for printing?

cmyk(95%, 19%, 0%, 13%). 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 #0cb5df 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 #0CDFBC; nudged cooler, #0A94E1.

Work with #0cb5df in the Color Lab