Skip to content

#0c82eb

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

RGB
12, 130, 235
HSL
208°, 90%, 48%
CMYK
95, 45, 0, 8
Luminance
0.2204

At a glance

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

Hex
#0c82eb
Hue
208°
blue
Saturation
90%
electric
Lightness
48%
balanced
Brightness
92%
HSV value
Perceived
50%
weighted brightness
Luminance
0.2204
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.41:1
Closest name
Dodger Blue
ΔE2000 5
Where it sits
Hue208° of 360°
Saturation90%
Lightness48%
Temperature
Warm ← → Cool99% 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#0c82eb
RGBrgb(12, 130, 235)
HSLhsl(208, 90%, 48%)
CMYKcmyk(95%, 45%, 0%, 8%)
LABlab(54.1 10.1 -60.9)
LCHlch(54.1 61.7 279.4)
OKLCHoklch(0.606 0.183 253.0)
Decimal819947
Display P3color(display-p3 0.047 0.510 0.922)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0c82eb on white: 3.88:1
AA ✗ fail · AA-large · AAA
Aa
#0c82eb on black: 5.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #488BEF
deuteranopia · #0D79E9
tritanopia · #009CAB

Color scale — 50 to 950

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

#F2F8FD
#E5F0FB
#C3DFF8
#94CAFA
#5FAFF7
#2995F4
#0c82eb
#0A6BC2
#08569B
#0A4070
#062846
Base = 600Lightest = 50 · #F2F8FDDarkest = 950 · #062846
:root {
  --brand-50: #F2F8FD;
  --brand-100: #E5F0FB;
  --brand-200: #C3DFF8;
  --brand-300: #94CAFA;
  --brand-400: #5FAFF7;
  --brand-500: #2995F4;
  --brand-600: #0c82eb;
  --brand-700: #0A6BC2;
  --brand-800: #08569B;
  --brand-900: #0A4070;
  --brand-950: #062846;
  --brand: #0c82eb;
  --brand-ink: #000000;
}

Colors that work with #0c82eb

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#C0D7ED
Hairlines and dividers
Muted text#4B759B
Captions on the surface
Accent#F03B07
Second voice, not a rival
Dark variant#064379
Hover, pressed, headers
Light variant#E7F3FE
Selected rows, tints
Dark surface#141D24
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 #0c82eb

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

Works well for
  • Headings from 24px up on white
  • 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
  • Small text on white — under 4.5:1
  • 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#EB750C
Analogous left#0CEBE5
Analogous right#0C12EB
Split-complement 1#EB0C12
Split-complement 2#EBE50C
Triadic 1#EB0C82
Triadic 2#82EB0C
Tetradic#E50CEB

RGB percentages

Red4.7%
Green51.0%
Blue92.2%

CMYK percentages

Cyan94.9%
Magenta44.7%
Yellow0.0%
Key (black)7.8%

Color previews

#0c82eb text on a black background

contrast 5.41:1

Card sample

#0c82eb text on a white background

contrast 3.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(12, 130, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 130, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0c82eb;
background: linear-gradient(135deg, #0c82eb, #2B0CEB);

Monochromatic scale

Palettes built from #0c82eb

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.

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

#0c82eb, answered

What color is #0c82eb?

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

What is the RGB value of #0c82eb?

rgb(12, 130, 235) — 12 red, 130 green and 235 blue out of 255, or 4.7% / 51% / 92.2% by channel.

Is #0c82eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2204 and perceived brightness is 50%, so black text on it reaches 5.41:1.

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

Black. It scores 5.41:1 against #0c82eb, versus 3.88:1 for white — AA at any size.

What is the complementary color of #0c82eb?

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

What colors go well with #0c82eb?

For interface work: #F4F8FA as the surface, #C0D7ED for borders, #4B759B for secondary text, #F03B07 as an accent and #064379 for hover and pressed states. For a palette, the analogous pair #0CEBE5 and #0C12EB stays calm, while #EB750C is the loudest partner.

What is #0c82eb in CMYK for printing?

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

Cool — it scores 99 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0C30EB; nudged cooler, #096FD5.

Work with #0c82eb in the Color Lab