Skip to content

#0c9eee

a balanced, electric blue · cool · closest name: Dodger Blue

RGB
12, 158, 238
HSL
201°, 90%, 49%
CMYK
95, 34, 0, 7
Luminance
0.3070

At a glance

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

Hex
#0c9eee
Hue
201°
blue
Saturation
90%
electric
Lightness
49%
balanced
Brightness
93%
HSV value
Perceived
57%
weighted brightness
Luminance
0.3070
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
7.14:1
Closest name
Dodger Blue
ΔE2000 6.8
Where it sits
Hue201° of 360°
Saturation90%
Lightness49%
Temperature
Warm ← → Cool96% 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#0c9eee
RGBrgb(12, 158, 238)
HSLhsl(201, 90%, 49%)
CMYKcmyk(95%, 34%, 0%, 7%)
LABlab(62.3 -5.4 -49.5)
LCHlch(62.3 49.8 263.8)
OKLCHoklch(0.671 0.159 242.6)
Decimal827118
Display P3color(display-p3 0.047 0.620 0.933)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0c9eee on white: 2.94:1
AA ✗ fail · AA-large · AAA
Aa
#0c9eee on black: 7.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #77A1F1
deuteranopia · #598EED
tritanopia · #00B2BB

Color scale — 50 to 950

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

#F2F9FD
#E5F3FB
#C3E6F9
#94D6FA
#5FC1F7
#29ADF4
#0c9eee
#0A81C2
#08679B
#0A4C70
#063046
Base = 600Lightest = 50 · #F2F9FDDarkest = 950 · #063046
:root {
  --brand-50: #F2F9FD;
  --brand-100: #E5F3FB;
  --brand-200: #C3E6F9;
  --brand-300: #94D6FA;
  --brand-400: #5FC1F7;
  --brand-500: #29ADF4;
  --brand-600: #0c9eee;
  --brand-700: #0A81C2;
  --brand-800: #08679B;
  --brand-900: #0A4C70;
  --brand-950: #063046;
  --brand: #0c9eee;
  --brand-ink: #000000;
}

Colors that work with #0c9eee

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#F4F8FA
Tinted page background
Border#C0DDED
Hairlines and dividers
Muted text#4B7F9B
Captions on the surface
Accent#F31F07
Second voice, not a rival
Dark variant#065179
Hover, pressed, headers
Light variant#E7F6FE
Selected rows, tints
Dark surface#141F24
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 #0c9eee

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
  • 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#EE5C0C
Analogous left#0CEECD
Analogous right#0C2DEE
Split-complement 1#EE0C2D
Split-complement 2#EECD0C
Triadic 1#EE0C9E
Triadic 2#9EEE0C
Tetradic#CD0CEE

RGB percentages

Red4.7%
Green62.0%
Blue93.3%

CMYK percentages

Cyan95.0%
Magenta33.6%
Yellow0.0%
Key (black)6.7%

Color previews

#0c9eee text on a black background

contrast 7.14:1

Card sample

#0c9eee text on a white background

contrast 2.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(12, 158, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 158, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0c9eee;
background: linear-gradient(135deg, #0c9eee, #110CEE);

Monochromatic scale

Palettes built from #0c9eee

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.

#0c9eee in the real world

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

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#0c9eee, answered

What color is #0c9eee?

#0c9eee is a balanced electric blue, closest to Dodger Blue (ΔE2000 6.8). It sits at 201° on the hue wheel with 90% saturation and 49% lightness, which reads as cool.

What is the RGB value of #0c9eee?

rgb(12, 158, 238) — 12 red, 158 green and 238 blue out of 255, or 4.7% / 62% / 93.3% by channel.

Is #0c9eee a light or a dark color?

It is a mid-tone. Relative luminance is 0.3070 and perceived brightness is 57%, so black text on it reaches 7.14:1.

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

Black. It scores 7.14:1 against #0c9eee, versus 2.94:1 for white — AAA at any size.

What is the complementary color of #0c9eee?

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

What colors go well with #0c9eee?

For interface work: #F4F8FA as the surface, #C0DDED for borders, #4B7F9B for secondary text, #F31F07 as an accent and #065179 for hover and pressed states. For a palette, the analogous pair #0CEECD and #0C2DEE stays calm, while #EE5C0C is the loudest partner.

What is #0c9eee in CMYK for printing?

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

Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0CEEEB; nudged cooler, #097ED8.

Work with #0c9eee in the Color Lab