#05181E

Closest named color: Rich Navy (#001219). oklch(19.6% 0.028 220.8), rgb(5, 24, 30).

Aa

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

About this color

#05181E 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 Navy (#001219), ΔE 0.027 away. White text reads best on it, at 18.16:1.

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

Values

HEX#05181E
RGBrgb(5, 24, 30)
HSLhsl(194, 71%, 7%)
OKLCHoklch(19.6% 0.028 220.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 #05181E 18.16:1 AAA Lc -106.9 Preferred for body text
Black text on #05181E 1.15:1 Fails Lc 0.0 Not readable
#05181E text on white 18.16:1 AAA Lc 104.8 Preferred for body text
#05181E 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

    #CDDCE2

    oklch(88.5% 0.018 223.6)

  4. Step 300

    300

    #AAC6D0

    oklch(80.9% 0.033 221.4)

  5. Step 400

    400

    #7CA9B8

    oklch(70.8% 0.053 220.5)

  6. Step 500

    500

    #5893A6

    oklch(63% 0.068 220.6)

  7. Step 600

    600

    #3B7D92

    oklch(55.5% 0.074 221.5)

  8. Step 700

    700

    #2D6A7C

    oklch(49.2% 0.068 220.2)

  9. Step 800

    800

    #265665

    oklch(42.6% 0.057 221.1)

  10. Step 900

    900

    #244752

    oklch(37.6% 0.045 220.5)

  11. Step 950

    950 (this color)

    #05181E

    oklch(19.6% 0.028 220.8)

Export this scale for Tailwind in the Tailwind colors tool

#05181E 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)#14171E0.023
Deuteranopia (no green cones)#11141E0.022
Tritanopia (no blue cones)#001A1A0.015
Achromatopsia (no color)#1616160.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #05181E

    #05181E

    oklch(19.6% 0.028 220.8)

  • #20110B

    #20110B

    oklch(19.7% 0.028 42.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #05181E

    #05181E

    oklch(19.6% 0.028 220.8)

  • #041918

    #041918

    oklch(19.6% 0.028 191)

  • #0B1621

    #0B1621

    oklch(19.6% 0.028 249.4)

Open the analogous palette in the generator

Split complementary

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

  • #05181E

    #05181E

    oklch(19.6% 0.028 220.8)

  • #201012

    #201012

    oklch(19.7% 0.027 11.7)

  • #1D1307

    #1D1307

    oklch(19.6% 0.027 70.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #05181E

    #05181E

    oklch(19.6% 0.028 220.8)

  • #1E1019

    #1E1019

    oklch(19.6% 0.028 341.1)

  • #181506

    #181506

    oklch(19.5% 0.028 98.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #05181E

    #05181E

    oklch(19.6% 0.028 220.8)

  • #19111F

    #19111F

    oklch(19.5% 0.03 309.9)

  • #20110B

    #20110B

    oklch(19.7% 0.028 42.5)

  • #11180A

    #11180A

    oklch(19.7% 0.028 130.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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