Skip to content

#0b3263

a deep, electric blue · cool · closest name: Midnight Blue

RGB
11, 50, 99
HSL
213°, 80%, 22%
CMYK
89, 50, 0, 61
Luminance
0.0325

At a glance

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

Hex
#0b3263
Hue
213°
blue
Saturation
80%
electric
Lightness
22%
deep
Brightness
39%
HSV value
Perceived
20%
weighted brightness
Luminance
0.0325
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Electric
Best ink
White
12.72:1
Closest name
Midnight Blue
ΔE2000 10.7
Where it sits
Hue213° of 360°
Saturation80%
Lightness22%
Temperature
Warm ← → Cool98% 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#0b3263
RGBrgb(11, 50, 99)
HSLhsl(213, 80%, 22%)
CMYKcmyk(89%, 50%, 0%, 61%)
LABlab(21.0 7.2 -32.7)
LCHlch(21.0 33.5 282.4)
OKLCHoklch(0.321 0.097 256.5)
Decimal733795
Display P3color(display-p3 0.043 0.196 0.388)

Copy-ready code

/* CSS */
color: #0b3263;
background-color: #0b3263;
/* Tailwind (arbitrary) */
class="text-[#0b3263] bg-[#0b3263]"
/* SCSS */
$brand: #0b3263;
/* SwiftUI */
Color(red: 0.043, green: 0.196, blue: 0.388)
/* Android */
Color.parseColor("#0b3263")
/* Flutter */
Color(0xFF0B3263)
/* Python / OpenCV (BGR) */
(99, 50, 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 #0b3263 · 12.72:1
Use #ffffffAAA at every size.
Aa
White text · 12.72:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.65:1
AA fail · AA large fail · AAA fail
Reading the other direction: #0b3263 as text scores 12.72:1 on white and 1.65:1 on black.

Accessibility — WCAG contrast

Aa
#0b3263 on white: 12.72:1
AA ✓ pass · AA-large · AAA
Aa
#0b3263 on black: 1.65:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #173765
deuteranopia · #012F62
tritanopia · #003E45

Color scale — 50 to 950

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

#F3F7FC
#E6EFF9
#C7DBF5
#9AC2F4
#68A3EE
#3585E9
#186FDC
#145DB8
#104A93
#0b3263
#0A2342
Base = 900Lightest = 50 · #F3F7FCDarkest = 950 · #0A2342
:root {
  --brand-50: #F3F7FC;
  --brand-100: #E6EFF9;
  --brand-200: #C7DBF5;
  --brand-300: #9AC2F4;
  --brand-400: #68A3EE;
  --brand-500: #3585E9;
  --brand-600: #186FDC;
  --brand-700: #145DB8;
  --brand-800: #104A93;
  --brand-900: #0b3263;
  --brand-950: #0A2342;
  --brand: #0b3263;
  --brand-ink: #ffffff;
}

Colors that work with #0b3263

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#F4F7FA
Tinted page background
Border#C0D4ED
Hairlines and dividers
Muted text#4B6E9B
Captions on the surface
Accent#652509
Second voice, not a rival
Dark variant#0D3A73
Hover, pressed, headers
Light variant#E8F1FC
Selected rows, tints
Dark surface#141B24
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 #0b3263

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#633C0B
Analogous left#0B5E63
Analogous right#100B63
Split-complement 1#63100B
Split-complement 2#5E630B
Triadic 1#630B32
Triadic 2#32630B
Tetradic#630B5E

RGB percentages

Red4.3%
Green19.6%
Blue38.8%

CMYK percentages

Cyan88.9%
Magenta49.5%
Yellow0.0%
Key (black)61.2%

Color previews

#0b3263 text on a black background

contrast 1.65:1

Card sample

#0b3263 text on a white background

contrast 12.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(11, 50, 99, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 50, 99, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0b3263;
background: linear-gradient(135deg, #0b3263, #1F0B63);

Monochromatic scale

Palettes built from #0b3263

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.

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

#0b3263, answered

What color is #0b3263?

#0b3263 is a deep electric blue, closest to Midnight Blue (ΔE2000 10.7). It sits at 213° on the hue wheel with 80% saturation and 22% lightness, which reads as cool.

What is the RGB value of #0b3263?

rgb(11, 50, 99) — 11 red, 50 green and 99 blue out of 255, or 4.3% / 19.6% / 38.8% by channel.

Is #0b3263 a light or a dark color?

It is a dark color. Relative luminance is 0.0325 and perceived brightness is 20%, so white text on it reaches 12.72:1.

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

White. It scores 12.72:1 against #0b3263, versus 1.65:1 for black — AAA at any size.

What is the complementary color of #0b3263?

#633C0B sits directly opposite on the wheel. Softer options are the split-complements #63100B and #5E630B, which give the same contrast with far less vibration.

What colors go well with #0b3263?

For interface work: #F4F7FA as the surface, #C0D4ED for borders, #4B6E9B for secondary text, #652509 as an accent and #0D3A73 for hover and pressed states. For a palette, the analogous pair #0B5E63 and #100B63 stays calm, while #633C0B is the loudest partner.

What is #0b3263 in CMYK for printing?

cmyk(89%, 50%, 0%, 61%). 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 #0b3263 warm or cool?

Cool — it scores 98 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0B1263; nudged cooler, #08284D.

Work with #0b3263 in the Color Lab