#050D12

Closest named color: Almost Black (#070D0D). oklch(15.3% 0.017 233.8), rgb(5, 13, 18).

Aa

White text reads best on this color (19.57:1).

About this color

#050D12 is a very dark close to neutral grey. In OKLCH its lightness is 15%, its chroma 0.017. It has too little chroma to lean warm or cool. The nearest named color is Almost Black (#070D0D), ΔE 0.011 away. White text reads best on it, at 19.57:1.

Hue familyNeutrals
Lightnessvery dark (15%)
Chromaclose to neutral grey (0.017)
Temperatureneutral
Nearest nameAlmost Black (#070D0D)
Black text1.07:1
White text19.57:1

Values

HEX#050D12
RGBrgb(5, 13, 18)
HSLhsl(203, 57%, 5%)
OKLCHoklch(15.3% 0.017 233.8)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #050D12 19.57:1 AAA Lc -107.6 Preferred for body text
Black text on #050D12 1.07:1 Fails Lc 0.0 Not readable
#050D12 text on white 19.57:1 AAA Lc 105.7 Preferred for body text
#050D12 text on black 1.07:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F4F6F7

    oklch(97.2% 0.003 228.8)

  2. Step 100

    100

    #E6EBED

    oklch(93.7% 0.006 223.5)

  3. Step 200

    200

    #D2DBE0

    oklch(88.6% 0.012 231.7)

  4. Step 300

    300

    #B4C3CC

    oklch(80.8% 0.021 233.9)

  5. Step 400

    400

    #8DA5B2

    oklch(70.8% 0.033 231.5)

  6. Step 500

    500

    #718E9F

    oklch(63.1% 0.042 234)

  7. Step 600

    600

    #59788A

    oklch(55.6% 0.045 234.1)

  8. Step 700

    700

    #496575

    oklch(49.1% 0.042 233.8)

  9. Step 800

    800

    #3C5260

    oklch(42.6% 0.036 236.6)

  10. Step 900

    900

    #33444E

    oklch(37.6% 0.028 234.3)

  11. Step 950

    950 (this color)

    #050D12

    oklch(15.3% 0.017 233.8)

Export this scale for Tailwind in the Tailwind colors tool

#050D12 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0B0D120.012
Deuteranopia (no green cones)#090B120.011
Tritanopia (no blue cones)#020E0F0.011
Achromatopsia (no color)#0C0C0C0.017

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #050D12

    #050D12

    oklch(15.3% 0.017 233.8)

  • #120A05

    #120A05

    oklch(15.4% 0.019 57.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #050D12

    #050D12

    oklch(15.3% 0.017 233.8)

  • #040E0F

    #040E0F

    oklch(15.3% 0.017 202.8)

  • #080C13

    #080C13

    oklch(15.4% 0.017 260.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #050D12

    #050D12

    oklch(15.3% 0.017 233.8)

  • #120908

    #120908

    oklch(15.2% 0.016 26.9)

  • #0F0B04

    #0F0B04

    oklch(15.2% 0.018 85.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #050D12

    #050D12

    oklch(15.3% 0.017 233.8)

  • #12090C

    #12090C

    oklch(15.4% 0.017 357.5)

  • #0C0D05

    #0C0D05

    oklch(15.5% 0.018 113.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #050D12

    #050D12

    oklch(15.3% 0.017 233.8)

  • #0F0910

    #0F0910

    oklch(15.2% 0.018 321.6)

  • #120A05

    #120A05

    oklch(15.4% 0.019 57.8)

  • #070E07

    #070E07

    oklch(15.3% 0.019 144.6)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #050D12, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #050D12 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.