#08161F

Closest named color: Rich Navy (#001219). oklch(19.2% 0.027 238.3), rgb(8, 22, 31).

Aa

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

About this color

#08161F 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.025 away. White text reads best on it, at 18.34:1.

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

Values

HEX#08161F
RGBrgb(8, 22, 31)
HSLhsl(203, 59%, 8%)
OKLCHoklch(19.2% 0.027 238.3)

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 #08161F 18.34:1 AAA Lc -107.1 Preferred for body text
Black text on #08161F 1.14:1 Fails Lc 0.0 Not readable
#08161F text on white 18.34:1 AAA Lc 104.9 Preferred for body text
#08161F 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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBEF

    oklch(93.6% 0.009 232.4)

  3. Step 200

    200

    #CFDBE4

    oklch(88.5% 0.018 240)

  4. Step 300

    300

    #AEC4D3

    oklch(80.8% 0.032 237.7)

  5. Step 400

    400

    #83A6BD

    oklch(70.7% 0.051 237.2)

  6. Step 500

    500

    #648FAD

    oklch(63% 0.065 239.6)

  7. Step 600

    600

    #4A7998

    oklch(55.5% 0.071 238.7)

  8. Step 700

    700

    #3B6682

    oklch(49.1% 0.066 238.6)

  9. Step 800

    800

    #31536A

    oklch(42.6% 0.055 239.5)

  10. Step 900

    900

    #2C4556

    oklch(37.8% 0.042 239.1)

  11. Step 950

    950 (this color)

    #08161F

    oklch(19.2% 0.027 238.3)

Export this scale for Tailwind in the Tailwind colors tool

#08161F 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)#12161F0.016
Deuteranopia (no green cones)#0F131F0.015
Tritanopia (no blue cones)#0018190.021
Achromatopsia (no color)#1414140.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #08161F

    #08161F

    oklch(19.2% 0.027 238.3)

  • #1D1108

    #1D1108

    oklch(19.1% 0.026 57.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #08161F

    #08161F

    oklch(19.2% 0.027 238.3)

  • #04181B

    #04181B

    oklch(19.4% 0.027 208)

  • #0F1421

    #0F1421

    oklch(19.3% 0.028 267.7)

Open the analogous palette in the generator

Split complementary

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

  • #08161F

    #08161F

    oklch(19.2% 0.027 238.3)

  • #1F100D

    #1F100D

    oklch(19.3% 0.026 31.9)

  • #191406

    #191406

    oklch(19.3% 0.027 90.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #08161F

    #08161F

    oklch(19.2% 0.027 238.3)

  • #1E0F14

    #1E0F14

    oklch(19.2% 0.027 358.4)

  • #131608

    #131608

    oklch(19.2% 0.027 118.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #08161F

    #08161F

    oklch(19.2% 0.027 238.3)

  • #1B101A

    #1B101A

    oklch(19.2% 0.026 329.7)

  • #1D1108

    #1D1108

    oklch(19.1% 0.026 57.6)

  • #0C180D

    #0C180D

    oklch(19.4% 0.028 146.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #08161F 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.