#0B171A

Closest named color: Rich Navy (#001219). oklch(19.5% 0.018 215.3), rgb(11, 23, 26).

Aa

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

About this color

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

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

Values

HEX#0B171A
RGBrgb(11, 23, 26)
HSLhsl(192, 41%, 7%)
OKLCHoklch(19.5% 0.018 215.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 #0B171A 18.23:1 AAA Lc -107.0 Preferred for body text
Black text on #0B171A 1.15:1 Fails Lc 0.0 Not readable
#0B171A text on white 18.23:1 AAA Lc 104.9 Preferred for body text
#0B171A text on black 1.15: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

    #E5EBEC

    oklch(93.6% 0.007 208.8)

  3. Step 200

    200

    #D1DBDE

    oklch(88.5% 0.012 217.6)

  4. Step 300

    300

    #B2C4C9

    oklch(80.8% 0.021 216.2)

  5. Step 400

    400

    #89A6AE

    oklch(70.6% 0.034 216.3)

  6. Step 500

    500

    #6B919A

    oklch(63.2% 0.044 213.9)

  7. Step 600

    600

    #527B85

    oklch(55.6% 0.048 214.7)

  8. Step 700

    700

    #436771

    oklch(49% 0.044 217.1)

  9. Step 800

    800

    #37545C

    oklch(42.6% 0.037 216.9)

  10. Step 900

    900

    #30464B

    oklch(37.8% 0.029 213.3)

  11. Step 950

    950 (this color)

    #0B171A

    oklch(19.5% 0.018 215.3)

Export this scale for Tailwind in the Tailwind colors tool

#0B171A 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)#15161A0.017
Deuteranopia (no green cones)#12141A0.015
Tritanopia (no blue cones)#0618180.010
Achromatopsia (no color)#1515150.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #0B171A

    #0B171A

    oklch(19.5% 0.018 215.3)

  • #1C120F

    #1C120F

    oklch(19.4% 0.018 37.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0B171A

    #0B171A

    oklch(19.5% 0.018 215.3)

  • #0B1816

    #0B1816

    oklch(19.6% 0.019 183.6)

  • #0E161D

    #0E161D

    oklch(19.6% 0.019 245.4)

Open the analogous palette in the generator

Split complementary

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

  • #0B171A

    #0B171A

    oklch(19.5% 0.018 215.3)

  • #1C1114

    #1C1114

    oklch(19.4% 0.019 1.1)

  • #1B130C

    #1B130C

    oklch(19.5% 0.019 62.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0B171A

    #0B171A

    oklch(19.5% 0.018 215.3)

  • #1A1218

    #1A1218

    oklch(19.5% 0.017 335.3)

  • #17150B

    #17150B

    oklch(19.5% 0.019 98.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0B171A

    #0B171A

    oklch(19.5% 0.018 215.3)

  • #17131B

    #17131B

    oklch(19.5% 0.017 307.5)

  • #1C120F

    #1C120F

    oklch(19.4% 0.018 37.4)

  • #13160D

    #13160D

    oklch(19.4% 0.018 123)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0B171A 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.