#05171E

Closest named color: Rich Navy (#001219). oklch(19.3% 0.028 225.4), rgb(5, 23, 30).

Aa

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

About this color

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

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

Values

HEX#05171E
RGBrgb(5, 23, 30)
HSLhsl(197, 71%, 7%)
OKLCHoklch(19.3% 0.028 225.4)

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 #05171E 18.29:1 AAA Lc -107.0 Preferred for body text
Black text on #05171E 1.14:1 Fails Lc 0.0 Not readable
#05171E text on white 18.29:1 AAA Lc 104.9 Preferred for body text
#05171E text on black 1.14: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

    #E3EBEF

    oklch(93.5% 0.01 228.9)

  3. Step 200

    200

    #CDDCE3

    oklch(88.5% 0.019 227.3)

  4. Step 300

    300

    #ABC6D1

    oklch(81% 0.033 224.3)

  5. Step 400

    400

    #7DA8BA

    oklch(70.7% 0.053 225.6)

  6. Step 500

    500

    #5A92A9

    oklch(63% 0.068 226.2)

  7. Step 600

    600

    #3E7C94

    oklch(55.5% 0.074 225.8)

  8. Step 700

    700

    #2F697E

    oklch(49.1% 0.069 224.7)

  9. Step 800

    800

    #285667

    oklch(42.8% 0.057 224.8)

  10. Step 900

    900

    #264754

    oklch(37.8% 0.045 225.5)

  11. Step 950

    950 (this color)

    #05171E

    oklch(19.3% 0.028 225.4)

Export this scale for Tailwind in the Tailwind colors tool

#05171E 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)#13161E0.021
Deuteranopia (no green cones)#0F141E0.018
Tritanopia (no blue cones)#0019190.017
Achromatopsia (no color)#1515150.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #05171E

    #05171E

    oklch(19.3% 0.028 225.4)

  • #1F1009

    #1F1009

    oklch(19.2% 0.029 45.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #05171E

    #05171E

    oklch(19.3% 0.028 225.4)

  • #031818

    #031818

    oklch(19.1% 0.028 195.1)

  • #0C1521

    #0C1521

    oklch(19.3% 0.028 255.9)

Open the analogous palette in the generator

Split complementary

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

  • #05171E

    #05171E

    oklch(19.3% 0.028 225.4)

  • #200F10

    #200F10

    oklch(19.4% 0.029 16.3)

  • #1C1306

    #1C1306

    oklch(19.5% 0.028 76.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #05171E

    #05171E

    oklch(19.3% 0.028 225.4)

  • #1E0F17

    #1E0F17

    oklch(19.3% 0.029 346.9)

  • #161506

    #161506

    oklch(19.2% 0.028 105.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #05171E

    #05171E

    oklch(19.3% 0.028 225.4)

  • #19101D

    #19101D

    oklch(19.1% 0.029 315.1)

  • #1F1009

    #1F1009

    oklch(19.2% 0.029 45.7)

  • #0F170A

    #0F170A

    oklch(19.2% 0.028 134.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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