#050A12

Closest named color: Almost Black (#070D0D). oklch(14.3% 0.02 255.8), rgb(5, 10, 18).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (14%)
Chromaclose to neutral grey (0.020)
Temperatureneutral
Nearest nameAlmost Black (#070D0D)
Black text1.05:1
White text19.83:1

Values

HEX#050A12
RGBrgb(5, 10, 18)
HSLhsl(217, 57%, 5%)
OKLCHoklch(14.3% 0.02 255.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 #050A12 19.83:1 AAA Lc -107.7 Preferred for body text
Black text on #050A12 1.05:1 Fails Lc 0.0 Not readable
#050A12 text on white 19.83:1 AAA Lc 105.8 Preferred for body text
#050A12 text on black 1.05: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

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E7EAEE

    oklch(93.6% 0.006 255.5)

  3. Step 200

    200

    #D3DAE2

    oklch(88.5% 0.013 251.6)

  4. Step 300

    300

    #B7C2D0

    oklch(81% 0.023 254.4)

  5. Step 400

    400

    #91A2B9

    oklch(70.7% 0.039 256)

  6. Step 500

    500

    #768BA7

    oklch(63% 0.049 255.7)

  7. Step 600

    600

    #5F7592

    oklch(55.6% 0.052 255.5)

  8. Step 700

    700

    #4E627D

    oklch(49.1% 0.05 256)

  9. Step 800

    800

    #405065

    oklch(42.6% 0.041 255.4)

  10. Step 900

    900

    #364353

    oklch(37.8% 0.032 253.8)

  11. Step 950

    950 (this color)

    #050A12

    oklch(14.3% 0.02 255.8)

Export this scale for Tailwind in the Tailwind colors tool

#050A12 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)#070A120.005
Deuteranopia (no green cones)#0609120.005
Tritanopia (no blue cones)#020C0D0.018
Achromatopsia (no color)#0A0A0A0.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #050A12

    #050A12

    oklch(14.3% 0.02 255.8)

  • #0F0903

    #0F0903

    oklch(14.5% 0.019 74.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #050A12

    #050A12

    oklch(14.3% 0.02 255.8)

  • #020B10

    #020B10

    oklch(14.1% 0.021 227)

  • #090912

    #090912

    oklch(14.5% 0.019 283.7)

Open the analogous palette in the generator

Split complementary

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

  • #050A12

    #050A12

    oklch(14.3% 0.02 255.8)

  • #110704

    #110704

    oklch(14.3% 0.021 43.3)

  • #0B0A03

    #0B0A03

    oklch(14.3% 0.019 103.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #050A12

    #050A12

    oklch(14.3% 0.02 255.8)

  • #110707

    #110707

    oklch(14.4% 0.019 19.6)

  • #060C04

    #060C04

    oklch(14.4% 0.023 136.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #050A12

    #050A12

    oklch(14.3% 0.02 255.8)

  • #10070B

    #10070B

    oklch(14.4% 0.019 350.4)

  • #0F0903

    #0F0903

    oklch(14.5% 0.019 74.6)

  • #030C08

    #030C08

    oklch(14.2% 0.019 168)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #050A12 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.