Skip to content

#080c18

a deep, vivid blue · cool · closest name: Black

RGB
8, 12, 24
HSL
225°, 50%, 6%
CMYK
67, 50, 0, 91
Luminance
0.0038

At a glance

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

Hex
#080c18
Hue
225°
blue
Saturation
50%
vivid
Lightness
6%
deep
Brightness
9%
HSV value
Perceived
5%
weighted brightness
Luminance
0.0038
WCAG relative
Temperature
Cool
92/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
19.51:1
Closest name
Black
ΔE2000 6.7
Where it sits
Hue225° of 360°
Saturation50%
Lightness6%
Temperature
Warm ← → Cool92% 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#080c18
RGBrgb(8, 12, 24)
HSLhsl(225, 50%, 6%)
CMYKcmyk(67%, 50%, 0%, 91%)
LABlab(3.4 1.4 -7.2)
LCHlch(3.4 7.3 281.2)
OKLCHoklch(0.157 0.027 268.8)
Decimal527384
Display P3color(display-p3 0.031 0.047 0.094)

Copy-ready code

/* CSS */
color: #080c18;
background-color: #080c18;
/* Tailwind (arbitrary) */
class="text-[#080c18] bg-[#080c18]"
/* SCSS */
$brand: #080c18;
/* SwiftUI */
Color(red: 0.031, green: 0.047, blue: 0.094)
/* Android */
Color.parseColor("#080c18")
/* Flutter */
Color(0xFF080C18)
/* Python / OpenCV (BGR) */
(24, 12, 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 #080c18 · 19.51:1
Use #ffffffAAA at every size.
Aa
White text · 19.51:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.08:1
AA fail · AA large fail · AAA fail
Reading the other direction: #080c18 as text scores 19.51:1 on white and 1.08:1 on black.

Accessibility — WCAG contrast

Aa
#080c18 on white: 19.51:1
AA ✓ pass · AA-large · AAA
Aa
#080c18 on black: 1.08:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #080D18
deuteranopia · #070C18
tritanopia · #040E10

Color scale — 50 to 950

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

#F4F6FA
#EAEDF6
#CFD7EC
#ABB9E3
#8196D5
#5773C7
#3D5CB8
#334D99
#293D7A
#212F59
#080c18
Base = 950Lightest = 50 · #F4F6FADarkest = 950 · #080c18
:root {
  --brand-50: #F4F6FA;
  --brand-100: #EAEDF6;
  --brand-200: #CFD7EC;
  --brand-300: #ABB9E3;
  --brand-400: #8196D5;
  --brand-500: #5773C7;
  --brand-600: #3D5CB8;
  --brand-700: #334D99;
  --brand-800: #293D7A;
  --brand-900: #212F59;
  --brand-950: #080c18;
  --brand: #080c18;
  --brand-ink: #ffffff;
}

Colors that work with #080c18

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#F4F6FA
Tinted page background
Border#C2CCEB
Hairlines and dividers
Muted text#4B5F9B
Captions on the surface
Accent#191007
Second voice, not a rival
Dark variant#203060
Hover, pressed, headers
Light variant#ECEFF9
Selected rows, tints
Dark surface#141824
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 #080c18

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#181408
Analogous left#081418
Analogous right#0C0818
Split-complement 1#180C08
Split-complement 2#141808
Triadic 1#18080C
Triadic 2#0C1808
Tetradic#180814

RGB percentages

Red3.1%
Green4.7%
Blue9.4%

CMYK percentages

Cyan66.7%
Magenta50.0%
Yellow0.0%
Key (black)90.6%

Color previews

#080c18 text on a black background

contrast 1.08:1

Card sample

#080c18 text on a white background

contrast 19.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #080c18

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.

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

#080c18, answered

What color is #080c18?

#080c18 is a deep vivid blue, closest to Black (ΔE2000 6.7). It sits at 225° on the hue wheel with 50% saturation and 6% lightness, which reads as cool.

What is the RGB value of #080c18?

rgb(8, 12, 24) — 8 red, 12 green and 24 blue out of 255, or 3.1% / 4.7% / 9.4% by channel.

Is #080c18 a light or a dark color?

It is a dark color. Relative luminance is 0.0038 and perceived brightness is 5%, so white text on it reaches 19.51:1.

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

White. It scores 19.51:1 against #080c18, versus 1.08:1 for black — AAA at any size.

What is the complementary color of #080c18?

#181408 sits directly opposite on the wheel. Softer options are the split-complements #180C08 and #141808, which give the same contrast with far less vibration.

What colors go well with #080c18?

For interface work: #F4F6FA as the surface, #C2CCEB for borders, #4B5F9B for secondary text, #191007 as an accent and #203060 for hover and pressed states. For a palette, the analogous pair #081418 and #0C0818 stays calm, while #181408 is the loudest partner.

What is #080c18 in CMYK for printing?

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

Is #080c18 warm or cool?

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

Work with #080c18 in the Color Lab