Skip to content

#0d0bc9

a dark, electric blue · cool · “Medium Blue”

RGB
13, 11, 201
HSL
241°, 90%, 42%
CMYK
94, 95, 0, 21
Luminance
0.0454

At a glance

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

Hex
#0d0bc9
Hue
241°
blue
Saturation
90%
electric
Lightness
42%
dark
Brightness
79%
HSV value
Perceived
27%
weighted brightness
Luminance
0.0454
WCAG relative
Temperature
Cool
83/100 cool
Color family
Blue
Tone
Electric
Best ink
White
11.00:1
Closest name
Medium Blue
ΔE2000 0.8
Where it sits
Hue241° of 360°
Saturation90%
Lightness42%
Temperature
Warm ← → Cool83% 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#0d0bc9
RGBrgb(13, 11, 201)
HSLhsl(241, 90%, 42%)
CMYKcmyk(94%, 95%, 0%, 21%)
LABlab(25.4 64.0 -88.5)
LCHlch(25.4 109.2 305.9)
OKLCHoklch(0.385 0.257 265.6)
Decimal854985
Display P3color(display-p3 0.051 0.043 0.788)

Copy-ready code

/* CSS */
color: #0d0bc9;
background-color: #0d0bc9;
/* Tailwind (arbitrary) */
class="text-[#0d0bc9] bg-[#0d0bc9]"
/* SCSS */
$brand: #0d0bc9;
/* SwiftUI */
Color(red: 0.051, green: 0.043, blue: 0.788)
/* Android */
Color.parseColor("#0d0bc9")
/* Flutter */
Color(0xFF0D0BC9)
/* Python / OpenCV (BGR) */
(201, 11, 13)

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#ffffff on #0d0bc9 · 11.00:1
Use #ffffffAAA at every size.
Aa
White text · 11.00:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.91:1
AA fail · AA large fail · AAA fail
Reading the other direction: #0d0bc9 as text scores 11.00:1 on white and 1.91:1 on black.

Accessibility — WCAG contrast

Aa
#0d0bc9 on white: 11.00:1
AA ✓ pass · AA-large · AAA
Aa
#0d0bc9 on black: 1.91:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0046CE
deuteranopia · #0031C6
tritanopia · #005476

Color scale — 50 to 950

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

#F2F2FD
#E5E5FB
#C4C3F8
#9695F9
#615FF6
#2C2AF3
#0F0DE8
#0d0bc9
#0A089B
#0C0B70
#070746
Base = 700Lightest = 50 · #F2F2FDDarkest = 950 · #070746
:root {
  --brand-50: #F2F2FD;
  --brand-100: #E5E5FB;
  --brand-200: #C4C3F8;
  --brand-300: #9695F9;
  --brand-400: #615FF6;
  --brand-500: #2C2AF3;
  --brand-600: #0F0DE8;
  --brand-700: #0d0bc9;
  --brand-800: #0A089B;
  --brand-900: #0C0B70;
  --brand-950: #070746;
  --brand: #0d0bc9;
  --brand-ink: #ffffff;
}

Colors that work with #0d0bc9

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F4FA
Tinted page background
Border#C0C0ED
Hairlines and dividers
Muted text#4B4B9B
Captions on the surface
Accent#C59807
Second voice, not a rival
Dark variant#080779
Hover, pressed, headers
Light variant#E7E7FE
Selected rows, tints
Dark surface#141424
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 #0d0bc9

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

Works well for
  • Body text and links on white
  • 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 on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#C7C90B
Analogous left#0B68C9
Analogous right#6C0BC9
Split-complement 1#C96C0B
Split-complement 2#68C90B
Triadic 1#C90D0B
Triadic 2#0BC90D
Tetradic#C90B68

RGB percentages

Red5.1%
Green4.3%
Blue78.8%

CMYK percentages

Cyan93.5%
Magenta94.5%
Yellow0.0%
Key (black)21.2%

Color previews

#0d0bc9 text on a black background

contrast 1.91:1

Card sample

#0d0bc9 text on a white background

contrast 11.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(13, 11, 201, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(13, 11, 201, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0d0bc9;
background: linear-gradient(135deg, #0d0bc9, #8C0BC9);

Monochromatic scale

Palettes built from #0d0bc9

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.

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

#0d0bc9, answered

What color is #0d0bc9?

#0d0bc9 is a dark electric blue — the CSS keyword Medium Blue. It sits at 241° on the hue wheel with 90% saturation and 42% lightness, which reads as cool.

What is the RGB value of #0d0bc9?

rgb(13, 11, 201) — 13 red, 11 green and 201 blue out of 255, or 5.1% / 4.3% / 78.8% by channel.

Is #0d0bc9 a light or a dark color?

It is a dark color. Relative luminance is 0.0454 and perceived brightness is 27%, so white text on it reaches 11.00:1.

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

White. It scores 11.00:1 against #0d0bc9, versus 1.91:1 for black — AAA at any size.

What is the complementary color of #0d0bc9?

#C7C90B sits directly opposite on the wheel. Softer options are the split-complements #C96C0B and #68C90B, which give the same contrast with far less vibration.

What colors go well with #0d0bc9?

For interface work: #F4F4FA as the surface, #C0C0ED for borders, #4B4B9B for secondary text, #C59807 as an accent and #080779 for hover and pressed states. For a palette, the analogous pair #0B68C9 and #6C0BC9 stays calm, while #C7C90B is the loudest partner.

What is #0d0bc9 in CMYK for printing?

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

Cool — it scores 83 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #530BC9; nudged cooler, #0936CB.

Work with #0d0bc9 in the Color Lab