Black Friday 2026: design deals we check every day. See the deals →

#0F073A Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

 
#0f073a
Hex color #0f073a graphic
Hex code #0f073a is a dense, almost black indigo. It feels formal, making it a reliable choice for dark mode UI backgrounds where you require high contrast. Because it has such low lightness, white text pops against it with excellent readability. Use this color as a primary base for serious, night-themed designs instead of standard black to create a sophisticated, moody atmosphere.

Color Conversions

Hex color #0f073a converted to various formats including hex, rgb, hsl, and more.

  • Hex#0f073a
  • RGBrgb(15, 7, 58)
  • RGB Percentagesrgb(6%, 3%, 23%)
  • CMYK74%, 88%, 0%, 77%
  • HSLhsl(249, 78%, 13%)
  • HSVhsv(249, 88%, 23%)
  • OKLCHoklch(18.7% 0.092 280.2)
  • LCH5, 37, 303
  • LAB5, 20, -31
  • LUV5, -0, -15
  • XYZ1, 1, 4
  • Closest Tailwind Colorslate-900

Color Variations

Variations of this color including shaded, tints, and complementary colors.

Brighten

Tints of the color as they brighten toward white.

#0f073a
#201f4d
#333560
#494c73
#606386
#797c9a
#9295ae
#acaec2
#c7c9d6
#e3e4ea

Darken

Shades of the color as they darken toward black.

#0f073a
#0b0531
#080428
#050220
#030218
#020110
#010009
#000004
#000001
#000000

Desaturate

Desaturated versions of this color.

#0f073a
#171442
#202049
#2b2c50
#363857
#41435e
#4d4f65
#595b6c
#666773
#737479

Hue

Various hues of this color.

#3a0710
#3a0725
#39073a
#24073a
#0f073a
#07143a
#07293a
#073a35
#073a20

Analogous

Analogous color palette of this color, meaning colors that are next to each other on the color wheel.

#0f073a
#07133a
#07093a

Monochromatic

Monochromatic colors for this color, monochromatic colors are all of the same hue.

#0f073a
#1a0c64
#25118f
#3016b9
#3b1ce4
#04020f

Complementary

Complementary colors for this color, complementary colors are opposites on the color wheel.

#0f073a
#323a07

Split Complement

Split-complementary colors which use adjacent colors of this color’s complementary color.

#0f073a
#3a0728
#133a07

Triad

Triad colors which pull themselves in a triangle across the color wheel.

#0f073a
#3a0f07
#073a0f

Tetrad

Tetrad colors which pull themselves in a square shape across the color wheel.

#0f073a
#3a0718
#323a07
#073a28

Contrast Checker

Contrast test results for the color #0f073a on black and white backgrounds.
Open in contrast checker →

White Background

Passes AAA
Example Headline (24px)

The font-size of this text is 18.5px. Click anywhere to edit this text. Lorem Ipsum is simply dummy text of the printing and typesetting industry.

Black Background

Fails WCAG
Example Headline (24px)

The font-size of this text is 18.5px. Click anywhere to edit this text. Lorem Ipsum is simply dummy text of the printing and typesetting industry.

Color Blindness Simulation

See how #0f073a appears to people with color vision deficiency (CVD).

Normal Vision
#0f073a
Protanopia
#08083a
Red-blind (~1% of males)
Deuteranopia
#0a0a3a
Green-blind (~1% of males)
Tritanopia
#090d0d
Blue-blind (very rare)
Achromatopsia
#0c0c0c
Total color blindness

Questions about #0f073a

What is #0f073a in RGB, HSL and CMYK?
In RGB, #0f073a is rgb(15, 7, 58), in HSL hsl(249, 78%, 13%) and in CMYK 74%, 88%, 0%, 77%. Browse more shades of black with names and hex codes.
How does #0f073a compare to standard black in UI design?
#0f073a offers a more nuanced, sophisticated alternative to pure black because its subtle indigo undertone reduces eye strain and perceived harshness. It maintains excellent readability when paired with white or light-colored typography, creating a softer yet equally professional visual hierarchy.
What types of color palettes work best with #0f073a?
This color excels when paired with high-contrast accent colors such as electric blue, vibrant violet, or crisp white to maintain clarity. Because #0f073a is so dark, avoid using it alongside other near-black or dark navy shades to prevent the design from feeling muddy.
Is #0f073a readable on white or black?
#0f073a has a 18.88:1 contrast ratio on white and 1.11:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.