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

#1F2023 Hex Color

A soft near-black with cool undertones

 
#1f2023
Hex color #1f2023 graphic
#1f2023 is a deep charcoal grey that sits just above pure black. This tone acts as an ideal base for dark mode interfaces and moody typography. The hex code is #1f2023. Because it achieves a 16.3:1 contrast ratio against white text, designers can rely on this neutral for high-readability body copy without the harshness of a true black background.

Color Conversions

Hex color #1f2023 converted to various formats including hex, rgb, hsl, and more.

  • Hex#1f2023
  • RGBrgb(31, 32, 35)
  • RGB Percentagesrgb(12%, 13%, 14%)
  • CMYK11%, 9%, 0%, 86%
  • HSLhsl(225, 6%, 13%)
  • HSVhsv(225, 11%, 14%)
  • OKLCHoklch(24.4% 0.006 271.2)
  • LCH12, 2, 278
  • LAB12, 0, -2
  • LUV12, -1, -2
  • XYZ1, 1, 2
  • Closest Tailwind Colorneutral-800

Color Variations

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

Brighten

Tints of the color as they brighten toward white.

#1f2023
#323335
#454649
#5a5b5d
#707072
#868788
#9d9d9f
#b5b5b6
#cdcdce
#e6e6e6

Darken

Shades of the color as they darken toward black.

#1f2023
#191a1d
#141517
#0f0f11
#0a0a0c
#060607
#030304
#010101
#000000
#000000

Desaturate

Desaturated versions of this color.

#1f2023
#28292b
#313134
#3a3b3d
#434446
#4d4d4f
#575759
#616162
#6b6b6c
#757676

Hue

Various hues of this color.

#231f21
#231f23
#211f23
#201f23
#1f2023
#1f2223
#1f2323
#1f2321
#1f231f

Analogous

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

#1f2023
#1f2223
#1f2123

Monochromatic

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

#1f2023
#45474d
#6a6e78
#9095a2
#b6bbcd
#dbe2f7

Complementary

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

#1f2023
#23221f

Split Complement

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

#1f2023
#231f23
#22231f

Triad

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

#1f2023
#231f20
#20231f

Tetrad

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

#1f2023
#231f22
#23221f
#1f2320

Contrast Checker

Contrast test results for the color #1f2023 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 #1f2023 appears to people with color vision deficiency (CVD).

Normal Vision
#1f2023
Protanopia
#202023
Red-blind (~1% of males)
Deuteranopia
#202023
Green-blind (~1% of males)
Tritanopia
#1f2020
Blue-blind (very rare)
Achromatopsia
#202020
Total color blindness

Questions about #1f2023

What is #1f2023 in RGB, HSL and CMYK?
In RGB, #1f2023 is rgb(31, 32, 35), in HSL hsl(225, 6%, 13%) and in CMYK 11%, 9%, 0%, 86%. Browse more shades of black with names and hex codes.
Why use #1f2023 instead of pure black?
Using #1f2023 creates a more natural, balanced aesthetic for screen-based reading by reducing the high-contrast fatigue often caused by pure black. This deep charcoal allows for better visual depth while maintaining the clean, professional look essential for modern dark mode UI layouts.
What colors pair well with #1f2023?
Because #1f2023 is a neutral, near-black, it anchors vibrant tones exceptionally well. Try pairing it with muted sage or soft terracotta for an earthy, sophisticated palette that feels grounded but not overly clinical or stark.
Is #1f2023 readable on white or black?
#1f2023 has a 16.28:1 contrast ratio on white and 1.28: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.