Skip to content

#0b2cbf

a dark, electric blue · cool · closest name: Medium Blue

RGB
11, 44, 191
HSL
229°, 89%, 40%
CMYK
94, 77, 0, 25
Luminance
0.0563

At a glance

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

Hex
#0b2cbf
Hue
229°
blue
Saturation
89%
electric
Lightness
40%
dark
Brightness
75%
HSV value
Perceived
29%
weighted brightness
Luminance
0.0563
WCAG relative
Temperature
Cool
89/100 cool
Color family
Blue
Tone
Electric
Best ink
White
9.87:1
Closest name
Medium Blue
ΔE2000 5.8
Where it sits
Hue229° of 360°
Saturation89%
Lightness40%
Temperature
Warm ← → Cool89% 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#0b2cbf
RGBrgb(11, 44, 191)
HSLhsl(229, 89%, 40%)
CMYKcmyk(94%, 77%, 0%, 25%)
LABlab(28.5 47.8 -77.5)
LCHlch(28.5 91.0 301.7)
OKLCHoklch(0.403 0.226 265.0)
Decimal732351
Display P3color(display-p3 0.043 0.173 0.749)

Copy-ready code

/* CSS */
color: #0b2cbf;
background-color: #0b2cbf;
/* Tailwind (arbitrary) */
class="text-[#0b2cbf] bg-[#0b2cbf]"
/* SCSS */
$brand: #0b2cbf;
/* SwiftUI */
Color(red: 0.043, green: 0.173, blue: 0.749)
/* Android */
Color.parseColor("#0b2cbf")
/* Flutter */
Color(0xFF0B2CBF)
/* Python / OpenCV (BGR) */
(191, 44, 11)

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

Accessibility — WCAG contrast

Aa
#0b2cbf on white: 9.87:1
AA ✓ pass · AA-large · AAA
Aa
#0b2cbf on black: 2.13:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004CC3
deuteranopia · #003ABC
tritanopia · #005974

Color scale — 50 to 950

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

#F2F4FD
#E5E9FB
#C4CDF8
#95A7F9
#607BF6
#2B4FF3
#0D35E7
#0b2cbf
#09249A
#0B1D6F
#071246
Base = 700Lightest = 50 · #F2F4FDDarkest = 950 · #071246
:root {
  --brand-50: #F2F4FD;
  --brand-100: #E5E9FB;
  --brand-200: #C4CDF8;
  --brand-300: #95A7F9;
  --brand-400: #607BF6;
  --brand-500: #2B4FF3;
  --brand-600: #0D35E7;
  --brand-700: #0b2cbf;
  --brand-800: #09249A;
  --brand-900: #0B1D6F;
  --brand-950: #071246;
  --brand: #0b2cbf;
  --brand-ink: #ffffff;
}

Colors that work with #0b2cbf

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#F4F5FA
Tinted page background
Border#C0C8ED
Hairlines and dividers
Muted text#4B599B
Captions on the surface
Accent#C37207
Second voice, not a rival
Dark variant#071C79
Hover, pressed, headers
Light variant#E7EBFE
Selected rows, tints
Dark surface#141724
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 #0b2cbf

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#BF9E0B
Analogous left#0B86BF
Analogous right#440BBF
Split-complement 1#BF440B
Split-complement 2#86BF0B
Triadic 1#BF0B2C
Triadic 2#2CBF0B
Tetradic#BF0B86

RGB percentages

Red4.3%
Green17.3%
Blue74.9%

CMYK percentages

Cyan94.2%
Magenta77.0%
Yellow0.0%
Key (black)25.1%

Color previews

#0b2cbf text on a black background

contrast 2.13:1

Card sample

#0b2cbf text on a white background

contrast 9.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(11, 44, 191, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 44, 191, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0b2cbf;
background: linear-gradient(135deg, #0b2cbf, #620BBF);

Monochromatic scale

Palettes built from #0b2cbf

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.

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

#0b2cbf, answered

What color is #0b2cbf?

#0b2cbf is a dark electric blue, closest to Medium Blue (ΔE2000 5.8). It sits at 229° on the hue wheel with 89% saturation and 40% lightness, which reads as cool.

What is the RGB value of #0b2cbf?

rgb(11, 44, 191) — 11 red, 44 green and 191 blue out of 255, or 4.3% / 17.3% / 74.9% by channel.

Is #0b2cbf a light or a dark color?

It is a dark color. Relative luminance is 0.0563 and perceived brightness is 29%, so white text on it reaches 9.87:1.

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

White. It scores 9.87:1 against #0b2cbf, versus 2.13:1 for black — AAA at any size.

What is the complementary color of #0b2cbf?

#BF9E0B sits directly opposite on the wheel. Softer options are the split-complements #BF440B and #86BF0B, which give the same contrast with far less vibration.

What colors go well with #0b2cbf?

For interface work: #F4F5FA as the surface, #C0C8ED for borders, #4B599B for secondary text, #C37207 as an accent and #071C79 for hover and pressed states. For a palette, the analogous pair #0B86BF and #440BBF stays calm, while #BF9E0B is the loudest partner.

What is #0b2cbf in CMYK for printing?

cmyk(94%, 77%, 0%, 25%). 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 #0b2cbf warm or cool?

Cool — it scores 89 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2C0BBF; nudged cooler, #0946C1.

Work with #0b2cbf in the Color Lab