#05161D

Closest named color: Rich Navy (#001219). oklch(18.9% 0.027 226.6), rgb(5, 22, 29).

Aa

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

About this color

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

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

Values

HEX#05161D
RGBrgb(5, 22, 29)
HSLhsl(197, 71%, 7%)
OKLCHoklch(18.9% 0.027 226.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 #05161D 18.43:1 AAA Lc -107.1 Preferred for body text
Black text on #05161D 1.13:1 Fails Lc 0.0 Not readable
#05161D text on white 18.43:1 AAA Lc 105.0 Preferred for body text
#05161D text on black 1.13: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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E4EBEF

    oklch(93.6% 0.009 232.4)

  3. Step 200

    200

    #CDDCE2

    oklch(88.5% 0.018 223.6)

  4. Step 300

    300

    #ABC5D1

    oklch(80.8% 0.033 227.3)

  5. Step 400

    400

    #7EA8BA

    oklch(70.7% 0.052 226.2)

  6. Step 500

    500

    #5C92A9

    oklch(63.1% 0.067 226.9)

  7. Step 600

    600

    #407C94

    oklch(55.6% 0.072 226.4)

  8. Step 700

    700

    #32687E

    oklch(49% 0.067 227.2)

  9. Step 800

    800

    #2A5567

    oklch(42.7% 0.056 227.6)

  10. Step 900

    900

    #274653

    oklch(37.6% 0.043 226.9)

  11. Step 950

    950 (this color)

    #05161D

    oklch(18.9% 0.027 226.6)

Export this scale for Tailwind in the Tailwind colors tool

#05161D 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)#12151D0.020
Deuteranopia (no green cones)#0F131D0.018
Tritanopia (no blue cones)#0018180.017
Achromatopsia (no color)#1414140.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #05161D

    #05161D

    oklch(18.9% 0.027 226.6)

  • #1E1009

    #1E1009

    oklch(19.1% 0.027 47.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #05161D

    #05161D

    oklch(18.9% 0.027 226.6)

  • #031718

    #031718

    oklch(18.8% 0.027 199.4)

  • #0B1420

    #0B1420

    oklch(18.9% 0.028 255.9)

Open the analogous palette in the generator

Split complementary

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

  • #05161D

    #05161D

    oklch(18.9% 0.027 226.6)

  • #1E0E0F

    #1E0E0F

    oklch(18.8% 0.027 16)

  • #1B1205

    #1B1205

    oklch(19% 0.029 76.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #05161D

    #05161D

    oklch(18.9% 0.027 226.6)

  • #1D0E16

    #1D0E16

    oklch(18.9% 0.029 347)

  • #151406

    #151406

    oklch(18.8% 0.026 105.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #05161D

    #05161D

    oklch(18.9% 0.027 226.6)

  • #18101C

    #18101C

    oklch(18.9% 0.027 314.1)

  • #1E1009

    #1E1009

    oklch(19.1% 0.027 47.3)

  • #0E160A

    #0E160A

    oklch(18.8% 0.026 135.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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