#051917

Closest named color: Rich Navy (#001219). oklch(19.6% 0.027 186.7), rgb(5, 25, 23).

Aa

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

About this color

#051917 is a very dark close to neutral grey. In OKLCH its lightness is 20%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Rich Navy (#001219), ΔE 0.033 away. White text reads best on it, at 18.13:1.

Hue familyNeutrals
Lightnessvery dark (20%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameRich Navy (#001219)
Black text1.15:1
White text18.13:1

Values

HEX#051917
RGBrgb(5, 25, 23)
HSLhsl(174, 67%, 6%)
OKLCHoklch(19.6% 0.027 186.7)

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 #051917 18.13:1 AAA Lc -106.9 Preferred for body text
Black text on #051917 1.15:1 Fails Lc 0.0 Not readable
#051917 text on white 18.13:1 AAA Lc 104.8 Preferred for body text
#051917 text on black 1.15: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

    #F2F6F6

    oklch(97% 0.004 197.1)

  2. Step 100

    100

    #E3ECEB

    oklch(93.6% 0.01 189.1)

  3. Step 200

    200

    #CDDDDB

    oklch(88.5% 0.017 187.8)

  4. Step 300

    300

    #AAC8C4

    oklch(80.9% 0.033 186.7)

  5. Step 400

    400

    #7CABA6

    oklch(70.6% 0.051 187.9)

  6. Step 500

    500

    #599790

    oklch(63.2% 0.065 186.5)

  7. Step 600

    600

    #3B817A

    oklch(55.6% 0.071 186.6)

  8. Step 700

    700

    #2D6D67

    oklch(49.2% 0.066 186.9)

  9. Step 800

    800

    #275954

    oklch(42.8% 0.055 186.7)

  10. Step 900

    900

    #254945

    oklch(37.7% 0.042 186.3)

  11. Step 950

    950 (this color)

    #051917

    oklch(19.6% 0.027 186.7)

Export this scale for Tailwind in the Tailwind colors tool

#051917 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)#1717170.028
Deuteranopia (no green cones)#1415170.026
Tritanopia (no blue cones)#001A180.007
Achromatopsia (no color)#1616160.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #051917

    #051917

    oklch(19.6% 0.027 186.7)

  • #201013

    #201013

    oklch(19.7% 0.027 7.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #051917

    #051917

    oklch(19.6% 0.027 186.7)

  • #0A1910

    #0A1910

    oklch(19.6% 0.028 156.4)

  • #05181D

    #05181D

    oklch(19.5% 0.027 217)

Open the analogous palette in the generator

Split complementary

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

  • #051917

    #051917

    oklch(19.6% 0.027 186.7)

  • #1D101A

    #1D101A

    oklch(19.5% 0.028 335.3)

  • #20110C

    #20110C

    oklch(19.7% 0.027 39.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #051917

    #051917

    oklch(19.6% 0.027 186.7)

  • #18121F

    #18121F

    oklch(19.6% 0.027 305.2)

  • #1D1307

    #1D1307

    oklch(19.6% 0.027 70.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #051917

    #051917

    oklch(19.6% 0.027 186.7)

  • #121421

    #121421

    oklch(19.6% 0.026 276.9)

  • #201013

    #201013

    oklch(19.7% 0.027 7.7)

  • #191507

    #191507

    oklch(19.6% 0.026 94.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #051917 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.