#051A1E

Closest named color: Rich Black (#0D1B2A). oklch(20.3% 0.028 211.6), rgb(5, 26, 30).

Aa

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

About this color

#051A1E is a very dark close to neutral grey. In OKLCH its lightness is 20%, its chroma 0.028. It has too little chroma to lean warm or cool. The nearest named color is Rich Black (#0D1B2A), ΔE 0.027 away. White text reads best on it, at 17.90:1.

Hue familyNeutrals
Lightnessvery dark (20%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.17:1
White text17.90:1

Values

HEX#051A1E
RGBrgb(5, 26, 30)
HSLhsl(190, 71%, 7%)
OKLCHoklch(20.3% 0.028 211.6)

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 #051A1E 17.90:1 AAA Lc -106.8 Preferred for body text
Black text on #051A1E 1.17:1 Fails Lc 0.0 Not readable
#051A1E text on white 17.90:1 AAA Lc 104.6 Preferred for body text
#051A1E text on black 1.17: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

    #F2F6F7

    oklch(97% 0.004 214.3)

  2. Step 100

    100

    #E3ECED

    oklch(93.7% 0.01 204.9)

  3. Step 200

    200

    #CCDDE0

    oklch(88.6% 0.019 209.4)

  4. Step 300

    300

    #A9C7CD

    oklch(80.9% 0.033 211.1)

  5. Step 400

    400

    #79AAB4

    oklch(70.7% 0.054 211.7)

  6. Step 500

    500

    #5495A1

    oklch(63.1% 0.069 210.8)

  7. Step 600

    600

    #367F8C

    oklch(55.6% 0.074 211)

  8. Step 700

    700

    #286B77

    oklch(49.1% 0.069 211.4)

  9. Step 800

    800

    #235761

    oklch(42.6% 0.057 212.2)

  10. Step 900

    900

    #22484F

    oklch(37.7% 0.045 211)

  11. Step 950

    950 (this color)

    #051A1E

    oklch(20.3% 0.028 211.6)

Export this scale for Tailwind in the Tailwind colors tool

#051A1E 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)#17191E0.027
Deuteranopia (no green cones)#13161E0.024
Tritanopia (no blue cones)#001C1B0.013
Achromatopsia (no color)#1717170.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #051A1E

    #051A1E

    oklch(20.3% 0.028 211.6)

  • #22120E

    #22120E

    oklch(20.3% 0.028 34.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #051A1E

    #051A1E

    oklch(20.3% 0.028 211.6)

  • #061B17

    #061B17

    oklch(20.3% 0.029 179.2)

  • #0A1822

    #0A1822

    oklch(20.2% 0.028 241.1)

Open the analogous palette in the generator

Split complementary

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

  • #051A1E

    #051A1E

    oklch(20.3% 0.028 211.6)

  • #211116

    #211116

    oklch(20.2% 0.028 359.7)

  • #201409

    #201409

    oklch(20.4% 0.028 62.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #051A1E

    #051A1E

    oklch(20.3% 0.028 211.6)

  • #1E121C

    #1E121C

    oklch(20.3% 0.027 332.5)

  • #1B1607

    #1B1607

    oklch(20.2% 0.028 91.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #051A1E

    #051A1E

    oklch(20.3% 0.028 211.6)

  • #191321

    #191321

    oklch(20.1% 0.029 303.6)

  • #22120E

    #22120E

    oklch(20.3% 0.028 34.7)

  • #14190A

    #14190A

    oklch(20.3% 0.029 124)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #051A1E 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.