Skip to content

#080d2c

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

RGB
8, 13, 44
HSL
232°, 69%, 10%
CMYK
82, 71, 0, 83
Luminance
0.0052

At a glance

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

Hex
#080d2c
Hue
232°
blue
Saturation
69%
vivid
Lightness
10%
deep
Brightness
17%
HSV value
Perceived
7%
weighted brightness
Luminance
0.0052
WCAG relative
Temperature
Cool
88/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
19.02:1
Closest name
Midnight Blue
ΔE2000 13.5
Where it sits
Hue232° of 360°
Saturation69%
Lightness10%
Temperature
Warm ← → Cool88% 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#080d2c
RGBrgb(8, 13, 44)
HSLhsl(232, 69%, 10%)
CMYKcmyk(82%, 71%, 0%, 83%)
LABlab(4.7 8.3 -20.7)
LCHlch(4.7 22.3 291.9)
OKLCHoklch(0.177 0.063 271.4)
Decimal527660
Display P3color(display-p3 0.031 0.051 0.173)

Copy-ready code

/* CSS */
color: #080d2c;
background-color: #080d2c;
/* Tailwind (arbitrary) */
class="text-[#080d2c] bg-[#080d2c]"
/* SCSS */
$brand: #080d2c;
/* SwiftUI */
Color(red: 0.031, green: 0.051, blue: 0.173)
/* Android */
Color.parseColor("#080d2c")
/* Flutter */
Color(0xFF080D2C)
/* Python / OpenCV (BGR) */
(44, 13, 8)

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

Accessibility — WCAG contrast

Aa
#080d2c on white: 19.02:1
AA ✓ pass · AA-large · AAA
Aa
#080d2c on black: 1.10:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #00122D
deuteranopia · #000E2B
tritanopia · #00151A

Color scale — 50 to 950

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

#F3F4FB
#E7EAF8
#CACFF2
#A0ABEE
#7181E5
#4157DC
#263DCF
#1F33AD
#19298A
#162164
#080d2c
Base = 950Lightest = 50 · #F3F4FBDarkest = 950 · #080d2c
:root {
  --brand-50: #F3F4FB;
  --brand-100: #E7EAF8;
  --brand-200: #CACFF2;
  --brand-300: #A0ABEE;
  --brand-400: #7181E5;
  --brand-500: #4157DC;
  --brand-600: #263DCF;
  --brand-700: #1F33AD;
  --brand-800: #19298A;
  --brand-900: #162164;
  --brand-950: #080d2c;
  --brand: #080d2c;
  --brand-ink: #ffffff;
}

Colors that work with #080d2c

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#C0C6ED
Hairlines and dividers
Muted text#4B569B
Captions on the surface
Accent#2D1E07
Second voice, not a rival
Dark variant#14206C
Hover, pressed, headers
Light variant#E9ECFB
Selected rows, tints
Dark surface#141624
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 #080d2c

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#2C2708
Analogous left#081F2C
Analogous right#15082C
Split-complement 1#2C1508
Split-complement 2#1F2C08
Triadic 1#2C080D
Triadic 2#0D2C08
Tetradic#2C081F

RGB percentages

Red3.1%
Green5.1%
Blue17.3%

CMYK percentages

Cyan81.8%
Magenta70.5%
Yellow0.0%
Key (black)82.7%

Color previews

#080d2c text on a black background

contrast 1.10:1

Card sample

#080d2c text on a white background

contrast 19.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #080d2c;
Background color
Panel with #080d2c background
background-color: #080d2c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #080d2c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(8, 13, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 13, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080d2c;
background: linear-gradient(135deg, #080d2c, #1B082C);

Monochromatic scale

Palettes built from #080d2c

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.

#080d2c 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.

#080d2c, answered

What color is #080d2c?

#080d2c is a deep vivid blue, closest to Midnight Blue (ΔE2000 13.5). It sits at 232° on the hue wheel with 69% saturation and 10% lightness, which reads as cool.

What is the RGB value of #080d2c?

rgb(8, 13, 44) — 8 red, 13 green and 44 blue out of 255, or 3.1% / 5.1% / 17.3% by channel.

Is #080d2c a light or a dark color?

It is a dark color. Relative luminance is 0.0052 and perceived brightness is 7%, so white text on it reaches 19.02:1.

Should I use black or white text on #080d2c?

White. It scores 19.02:1 against #080d2c, versus 1.10:1 for black — AAA at any size.

What is the complementary color of #080d2c?

#2C2708 sits directly opposite on the wheel. Softer options are the split-complements #2C1508 and #1F2C08, which give the same contrast with far less vibration.

What colors go well with #080d2c?

For interface work: #F4F5FA as the surface, #C0C6ED for borders, #4B569B for secondary text, #2D1E07 as an accent and #14206C for hover and pressed states. For a palette, the analogous pair #081F2C and #15082C stays calm, while #2C2708 is the loudest partner.

What is #080d2c in CMYK for printing?

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

Is #080d2c warm or cool?

Cool — it scores 88 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #10082C; nudged cooler, #07172D.

Work with #080d2c in the Color Lab