#05181D

Closest named color: Rich Navy (#001219). oklch(19.5% 0.027 217), rgb(5, 24, 29).

Aa

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

About this color

#05181D 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.027 away. White text reads best on it, at 18.18:1.

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

Values

HEX#05181D
RGBrgb(5, 24, 29)
HSLhsl(193, 71%, 7%)
OKLCHoklch(19.5% 0.027 217)

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

    #F2F6F7

    oklch(97% 0.004 214.3)

  2. Step 100

    100

    #E3EBEE

    oklch(93.5% 0.009 222.1)

  3. Step 200

    200

    #CDDCE1

    oklch(88.5% 0.018 219.7)

  4. Step 300

    300

    #AAC6CE

    oklch(80.8% 0.032 216.9)

  5. Step 400

    400

    #7CA9B6

    oklch(70.7% 0.052 217.5)

  6. Step 500

    500

    #5894A4

    oklch(63.2% 0.067 216.8)

  7. Step 600

    600

    #3C7E8F

    oklch(55.7% 0.072 217)

  8. Step 700

    700

    #2D6A79

    oklch(49.1% 0.067 216.5)

  9. Step 800

    800

    #275663

    oklch(42.6% 0.055 218.4)

  10. Step 900

    900

    #254751

    oklch(37.7% 0.043 219)

  11. Step 950

    950 (this color)

    #05181D

    oklch(19.5% 0.027 217)

Export this scale for Tailwind in the Tailwind colors tool

#05181D 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)#15171D0.024
Deuteranopia (no green cones)#11141D0.022
Tritanopia (no blue cones)#001A1A0.013
Achromatopsia (no color)#1515150.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #05181D

    #05181D

    oklch(19.5% 0.027 217)

  • #20110C

    #20110C

    oklch(19.7% 0.027 39.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #05181D

    #05181D

    oklch(19.5% 0.027 217)

  • #051917

    #051917

    oklch(19.6% 0.027 186.7)

  • #0A1621

    #0A1621

    oklch(19.5% 0.028 247.4)

Open the analogous palette in the generator

Split complementary

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

  • #05181D

    #05181D

    oklch(19.5% 0.027 217)

  • #201013

    #201013

    oklch(19.7% 0.027 7.7)

  • #1D1307

    #1D1307

    oklch(19.6% 0.027 70.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #05181D

    #05181D

    oklch(19.5% 0.027 217)

  • #1D1019

    #1D1019

    oklch(19.5% 0.027 338.7)

  • #181506

    #181506

    oklch(19.5% 0.028 98.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #05181D

    #05181D

    oklch(19.5% 0.027 217)

  • #18121F

    #18121F

    oklch(19.6% 0.027 305.2)

  • #20110C

    #20110C

    oklch(19.7% 0.027 39.2)

  • #12170A

    #12170A

    oklch(19.5% 0.026 125.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #05181D 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.