#08171B

Closest named color: Rich Navy (#001219). oklch(19.3% 0.022 216.9), rgb(8, 23, 27).

Aa

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

About this color

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

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

Values

HEX#08171B
RGBrgb(8, 23, 27)
HSLhsl(193, 54%, 7%)
OKLCHoklch(19.3% 0.022 216.9)

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 #08171B 18.28:1 AAA Lc -107.0 Preferred for body text
Black text on #08171B 1.14:1 Fails Lc 0.0 Not readable
#08171B text on white 18.28:1 AAA Lc 104.9 Preferred for body text
#08171B 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

    #F3F6F7

    oklch(97.1% 0.003 219.5)

  2. Step 100

    100

    #E4EBED

    oklch(93.5% 0.008 216.6)

  3. Step 200

    200

    #CFDCDF

    oklch(88.6% 0.015 213.1)

  4. Step 300

    300

    #AFC5CC

    oklch(80.9% 0.026 218.9)

  5. Step 400

    400

    #83A8B2

    oklch(70.8% 0.043 216.1)

  6. Step 500

    500

    #63929F

    oklch(63.1% 0.054 217)

  7. Step 600

    600

    #497C8A

    oklch(55.6% 0.059 217.3)

  8. Step 700

    700

    #3A6875

    oklch(49% 0.054 218.1)

  9. Step 800

    800

    #31555F

    oklch(42.7% 0.045 217.5)

  10. Step 900

    900

    #2B464E

    oklch(37.6% 0.035 218.5)

  11. Step 950

    950 (this color)

    #08171B

    oklch(19.3% 0.022 216.9)

Export this scale for Tailwind in the Tailwind colors tool

#08171B 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)#14161B0.019
Deuteranopia (no green cones)#11141B0.017
Tritanopia (no blue cones)#0118180.014
Achromatopsia (no color)#1515150.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #08171B

    #08171B

    oklch(19.3% 0.022 216.9)

  • #1D110D

    #1D110D

    oklch(19.3% 0.022 39.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #08171B

    #08171B

    oklch(19.3% 0.022 216.9)

  • #081816

    #081816

    oklch(19.4% 0.022 185.2)

  • #0C151E

    #0C151E

    oklch(19.2% 0.023 249.1)

Open the analogous palette in the generator

Split complementary

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

  • #08171B

    #08171B

    oklch(19.3% 0.022 216.9)

  • #1D1013

    #1D1013

    oklch(19.2% 0.023 4.3)

  • #1B130A

    #1B130A

    oklch(19.4% 0.021 69.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #08171B

    #08171B

    oklch(19.3% 0.022 216.9)

  • #1B1118

    #1B1118

    oklch(19.4% 0.021 337.8)

  • #171509

    #171509

    oklch(19.4% 0.022 100)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #08171B

    #08171B

    oklch(19.3% 0.022 216.9)

  • #17121C

    #17121C

    oklch(19.3% 0.021 307.2)

  • #1D110D

    #1D110D

    oklch(19.3% 0.022 39.2)

  • #12160B

    #12160B

    oklch(19.2% 0.022 124.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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