Skip to content

#112b45

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

RGB
17, 43, 69
HSL
210°, 61%, 17%
CMYK
75, 38, 0, 73
Luminance
0.0228

At a glance

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

Hex
#112b45
Hue
210°
blue
Saturation
61%
vivid
Lightness
17%
deep
Brightness
27%
HSV value
Perceived
16%
weighted brightness
Luminance
0.0228
WCAG relative
Temperature
Cool
100/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
14.43:1
Closest name
Midnight Blue
ΔE2000 11
Where it sits
Hue210° of 360°
Saturation61%
Lightness17%
Temperature
Warm ← → Cool100% 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#112b45
RGBrgb(17, 43, 69)
HSLhsl(210, 61%, 17%)
CMYKcmyk(75%, 38%, 0%, 73%)
LABlab(16.9 0.1 -19.2)
LCHlch(16.9 19.2 270.3)
OKLCHoklch(0.283 0.058 250.6)
Decimal1125189
Display P3color(display-p3 0.067 0.169 0.271)

Copy-ready code

/* CSS */
color: #112b45;
background-color: #112b45;
/* Tailwind (arbitrary) */
class="text-[#112b45] bg-[#112b45]"
/* SCSS */
$brand: #112b45;
/* SwiftUI */
Color(red: 0.067, green: 0.169, blue: 0.271)
/* Android */
Color.parseColor("#112b45")
/* Flutter */
Color(0xFF112B45)
/* Python / OpenCV (BGR) */
(69, 43, 17)

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

Accessibility — WCAG contrast

Aa
#112b45 on white: 14.43:1
AA ✓ pass · AA-large · AAA
Aa
#112b45 on black: 1.46:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #202C46
deuteranopia · #182744
tritanopia · #003134

Color scale — 50 to 950

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

#F4F7FB
#E8F0F7
#CCDEEF
#A5C7E9
#78ABDE
#4B8FD3
#307AC4
#2866A4
#205283
#1B3D5F
#112b45
Base = 950Lightest = 50 · #F4F7FBDarkest = 950 · #112b45
:root {
  --brand-50: #F4F7FB;
  --brand-100: #E8F0F7;
  --brand-200: #CCDEEF;
  --brand-300: #A5C7E9;
  --brand-400: #78ABDE;
  --brand-500: #4B8FD3;
  --brand-600: #307AC4;
  --brand-700: #2866A4;
  --brand-800: #205283;
  --brand-900: #1B3D5F;
  --brand-950: #112b45;
  --brand: #112b45;
  --brand-ink: #ffffff;
}

Colors that work with #112b45

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#C0D6ED
Hairlines and dividers
Muted text#4B739B
Captions on the surface
Accent#471D0F
Second voice, not a rival
Dark variant#194066
Hover, pressed, headers
Light variant#EBF2FA
Selected rows, tints
Dark surface#141C24
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 #112b45

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#452B11
Analogous left#114545
Analogous right#111145
Split-complement 1#451111
Split-complement 2#454511
Triadic 1#45112B
Triadic 2#2B4511
Tetradic#451145

RGB percentages

Red6.7%
Green16.9%
Blue27.1%

CMYK percentages

Cyan75.4%
Magenta37.7%
Yellow0.0%
Key (black)72.9%

Color previews

#112b45 text on a black background

contrast 1.46:1

Card sample

#112b45 text on a white background

contrast 14.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #112b45;
Background color
Panel with #112b45 background
background-color: #112b45;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #112b45;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(17, 43, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(17, 43, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #112b45;
background: linear-gradient(135deg, #112b45, #1A1145);

Monochromatic scale

Palettes built from #112b45

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.

#112b45 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

Converts to four-color process without much drama. Proof it anyway.

#112b45, answered

What color is #112b45?

#112b45 is a deep vivid blue, closest to Midnight Blue (ΔE2000 11). It sits at 210° on the hue wheel with 61% saturation and 17% lightness, which reads as cool.

What is the RGB value of #112b45?

rgb(17, 43, 69) — 17 red, 43 green and 69 blue out of 255, or 6.7% / 16.9% / 27.1% by channel.

Is #112b45 a light or a dark color?

It is a dark color. Relative luminance is 0.0228 and perceived brightness is 16%, so white text on it reaches 14.43:1.

Should I use black or white text on #112b45?

White. It scores 14.43:1 against #112b45, versus 1.46:1 for black — AAA at any size.

What is the complementary color of #112b45?

#452B11 sits directly opposite on the wheel. Softer options are the split-complements #451111 and #454511, which give the same contrast with far less vibration.

What colors go well with #112b45?

For interface work: #F4F7FA as the surface, #C0D6ED for borders, #4B739B for secondary text, #471D0F as an accent and #194066 for hover and pressed states. For a palette, the analogous pair #114545 and #111145 stays calm, while #452B11 is the loudest partner.

What is #112b45 in CMYK for printing?

cmyk(75%, 38%, 0%, 73%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #112b45 warm or cool?

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

Work with #112b45 in the Color Lab