Skip to content

#0c91fd

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

RGB
12, 145, 253
HSL
207°, 98%, 52%
CMYK
95, 43, 0, 1
Luminance
0.2742

At a glance

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

Hex
#0c91fd
Hue
207°
blue
Saturation
98%
electric
Lightness
52%
balanced
Brightness
99%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2742
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
6.48:1
Closest name
Dodger Blue
ΔE2000 1
Where it sits
Hue207° of 360°
Saturation98%
Lightness52%
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#0c91fd
RGBrgb(12, 145, 253)
HSLhsl(207, 98%, 52%)
CMYKcmyk(95%, 43%, 0%, 1%)
LABlab(59.4 7.9 -62.3)
LCHlch(59.4 62.8 277.2)
OKLCHoklch(0.651 0.189 251.5)
Decimal823805
Display P3color(display-p3 0.047 0.569 0.992)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0c91fd on white: 3.24:1
AA ✗ fail · AA-large · AAA
Aa
#0c91fd on black: 6.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5899FF
deuteranopia · #2886FB
tritanopia · #00ABBB

Color scale — 50 to 950

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

#F1F8FE
#E3F1FC
#C1E1FB
#90CDFE
#58B3FE
#0c91fd
#0287F3
#0270CA
#015AA2
#064375
#042A49
Base = 500Lightest = 50 · #F1F8FEDarkest = 950 · #042A49
:root {
  --brand-50: #F1F8FE;
  --brand-100: #E3F1FC;
  --brand-200: #C1E1FB;
  --brand-300: #90CDFE;
  --brand-400: #58B3FE;
  --brand-500: #0c91fd;
  --brand-600: #0287F3;
  --brand-700: #0270CA;
  --brand-800: #015AA2;
  --brand-900: #064375;
  --brand-950: #042A49;
  --brand: #0c91fd;
  --brand-ink: #000000;
}

Colors that work with #0c91fd

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#C0D9ED
Hairlines and dividers
Muted text#4B779B
Captions on the surface
Accent#FF3B0A
Second voice, not a rival
Dark variant#01467E
Hover, pressed, headers
Light variant#E6F4FF
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 #0c91fd

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#FD780C
Analogous left#0CFDF1
Analogous right#0C19FD
Split-complement 1#FD0C19
Split-complement 2#FDF10C
Triadic 1#FD0C91
Triadic 2#91FD0C
Tetradic#F10CFD

RGB percentages

Red4.7%
Green56.9%
Blue99.2%

CMYK percentages

Cyan95.3%
Magenta42.7%
Yellow0.0%
Key (black)0.8%

Color previews

#0c91fd text on a black background

contrast 6.48:1

Card sample

#0c91fd text on a white background

contrast 3.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(12, 145, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 145, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0c91fd;
background: linear-gradient(135deg, #0c91fd, #280CFD);

Monochromatic scale

Palettes built from #0c91fd

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.

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

#0c91fd, answered

What color is #0c91fd?

#0c91fd is a balanced electric blue, closest to Dodger Blue (ΔE2000 1). It sits at 207° on the hue wheel with 98% saturation and 52% lightness, which reads as cool.

What is the RGB value of #0c91fd?

rgb(12, 145, 253) — 12 red, 145 green and 253 blue out of 255, or 4.7% / 56.9% / 99.2% by channel.

Is #0c91fd a light or a dark color?

It is a mid-tone. Relative luminance is 0.2742 and perceived brightness is 55%, so black text on it reaches 6.48:1.

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

Black. It scores 6.48:1 against #0c91fd, versus 3.24:1 for white — AA at any size.

What is the complementary color of #0c91fd?

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

What colors go well with #0c91fd?

For interface work: #F4F8FA as the surface, #C0D9ED for borders, #4B779B for secondary text, #FF3B0A as an accent and #01467E for hover and pressed states. For a palette, the analogous pair #0CFDF1 and #0C19FD stays calm, while #FD780C is the loudest partner.

What is #0c91fd in CMYK for printing?

cmyk(95%, 43%, 0%, 1%). 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 #0c91fd 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 #0C39FD; nudged cooler, #007CF0.

Work with #0c91fd in the Color Lab