08040D

#08040D closest to Obsidian Shard

#08040D is a very dark black; the closest named color is Obsidian Shard. In the RGB color model it is made of 3.1% red, 1.6% green and 5.1% blue (rgb(8, 4, 13)). Its HSL value is 267° hue, 53% saturation and 3% lightness, and in CMYK it is 38% cyan, 69% magenta, 0% yellow and 95% black. #08040D is a neutral color. White text reads best on it, with a contrast ratio of 20.32:1.

#08040D color conversion

HEX
RGB
HSL
HSB / HSV
HWB
CMYK
XYZ
CIELAB
CIELCh
CIELUV
OKLCH

Variations of #08040D

Shades

Mixed with black: richer and darker.

Tints

Mixed with white: lighter and softer.

Tones

Mixed with gray: calmer and more muted.

Hues

The same lightness and chroma, rotated around the color wheel.

Temperatures

Cooler on the left, warmer on the right.

#08040D color harmonies

Complementary

The opposite hue — maximum contrast and energy.

Open in generator →

Split complementary

The two hues next to the complement — contrast with less tension.

Open in generator →

Analogous

Neighbouring hues — calm, cohesive and natural.

Open in generator →

Triadic

Three hues evenly spaced at 120° — vibrant yet balanced.

Open in generator →

Tetradic

Two complementary pairs — rich, best with one dominant color.

Open in generator →

Square

Four hues spaced at 90° — bold and playful.

Open in generator →

#08040D for color-blind viewers (and dogs)

How #08040D appears with each type of color vision deficiency (Machado 2009 model) — and to your dog. Try the dog vision simulator →

  • Dog vision 96% similarHow dogs see it · simulated as #03060D
  • Protanopia 97% similar1.3% of men, 0.02% of women · simulated as #03050D
  • Protanomaly 97% similar1.3% of men, 0.02% of women · simulated as #04050D
  • Deuteranopia 96% similar1.2% of men, 0.01% of women · simulated as #03060D
  • Deuteranomaly 98% similar5% of men, 0.35% of women · simulated as #05050D
  • Tritanopia 96% similar0.001% of men, 0.03% of women · simulated as #070507
  • Tritanomaly 99% similar0.0001% of men, 0.0001% of women · simulated as #08040A
  • Achromatopsia 95% similar0.003% of men, 0.003% of women · simulated as #060606
  • Achromatomaly 96% similar0.001% of men, 0.001% of women · simulated as #060507

#08040D contrast checker

AaThe quick brown fox jumps over the lazy dog.
20.32:1 Super#08040D text on white
AA normalPassAAA normalPass
AA largePassAAA largePass
AaThe quick brown fox jumps over the lazy dog.
1.03:1 Very poor#08040D text on black
AA normalFailAAA normalFail
AA largeFailAAA largeFail

Need another background? Pick any pair in the palette generator and open the contrast panel.

Colors similar to #08040D

Palettes with #08040D

#08040D in CSS

/* Obsidian Shard */
.color { color: #08040D; }
.background { background-color: #08040D; }
.border { border: 1px solid #08040D; }

/* Other notations */
color: rgb(8 4 13);
color: hsl(267 53% 3%);
color: oklch(0.121 0.025 306.9);

#08040D FAQ

What color is #08040D?

#08040D is a very dark black. Its closest named color is Obsidian Shard. It belongs to the black color family and is a neutral color.

What is the RGB value of #08040D?

#08040D is rgb(8, 4, 13) in RGB, hsl(267, 53%, 3%) in HSL and cmyk(38%, 69%, 0%, 95%) in CMYK.

What is the complementary color of #08040D?

The complementary color of #08040D is #090D04, which sits opposite it on the color wheel.

Which text color works on #08040D?

White text has the best contrast on #08040D: 20.32:1, which meets the WCAG AA requirement of 4.5:1 for normal text.

Is #08040D a warm or cool color?

#08040D is a neutral color.