#05161B

Closest named color: Rich Navy (#001219). oklch(18.8% 0.026 218.8), rgb(5, 22, 27).

Aa

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

About this color

#05161B is a very dark close to neutral grey. In OKLCH its lightness is 19%, its chroma 0.026. 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.46:1.

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

Values

HEX#05161B
RGBrgb(5, 22, 27)
HSLhsl(194, 69%, 6%)
OKLCHoklch(18.8% 0.026 218.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 #05161B 18.46:1 AAA Lc -107.1 Preferred for body text
Black text on #05161B 1.13:1 Fails Lc 0.0 Not readable
#05161B text on white 18.46:1 AAA Lc 105.0 Preferred for body text
#05161B 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

    #F3F6F7

    oklch(97.1% 0.003 219.5)

  2. Step 100

    100

    #E4EBEE

    oklch(93.6% 0.009 225.1)

  3. Step 200

    200

    #CEDCE1

    oklch(88.5% 0.017 221.1)

  4. Step 300

    300

    #ACC6CE

    oklch(81% 0.03 218.3)

  5. Step 400

    400

    #7FA8B5

    oklch(70.6% 0.048 219.3)

  6. Step 500

    500

    #5D93A3

    oklch(63.2% 0.062 218.6)

  7. Step 600

    600

    #417D8E

    oklch(55.6% 0.068 218.5)

  8. Step 700

    700

    #336979

    oklch(49.1% 0.062 219.7)

  9. Step 800

    800

    #2B5662

    oklch(42.7% 0.052 218.2)

  10. Step 900

    900

    #274750

    oklch(37.7% 0.041 217.9)

  11. Step 950

    950 (this color)

    #05161B

    oklch(18.8% 0.026 218.8)

Export this scale for Tailwind in the Tailwind colors tool

#05161B 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)#13151B0.022
Deuteranopia (no green cones)#0F131B0.018
Tritanopia (no blue cones)#0018180.014
Achromatopsia (no color)#1414140.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #05161B

    #05161B

    oklch(18.8% 0.026 218.8)

  • #1D0F0B

    #1D0F0B

    oklch(18.7% 0.025 36.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #05161B

    #05161B

    oklch(18.8% 0.026 218.8)

  • #041716

    #041716

    oklch(18.8% 0.026 190.7)

  • #0A141E

    #0A141E

    oklch(18.7% 0.025 249.3)

Open the analogous palette in the generator

Split complementary

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

  • #05161B

    #05161B

    oklch(18.8% 0.026 218.8)

  • #1D0E11

    #1D0E11

    oklch(18.7% 0.026 6.9)

  • #1B1107

    #1B1107

    oklch(18.8% 0.025 66.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #05161B

    #05161B

    oklch(18.8% 0.026 218.8)

  • #1B0F17

    #1B0F17

    oklch(18.8% 0.025 339.8)

  • #161306

    #161306

    oklch(18.6% 0.025 97.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #05161B

    #05161B

    oklch(18.8% 0.026 218.8)

  • #17101C

    #17101C

    oklch(18.8% 0.026 310.6)

  • #1D0F0B

    #1D0F0B

    oklch(18.7% 0.025 36.7)

  • #101609

    #101609

    oklch(19% 0.026 128.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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