#0B170C

Closest named color: Rich Navy (#001219). oklch(18.9% 0.028 146.3), rgb(11, 23, 12).

Aa

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

About this color

#0B170C 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.042 away. White text reads best on it, at 18.38:1.

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

Values

HEX#0B170C
RGBrgb(11, 23, 12)
HSLhsl(125, 35%, 7%)
OKLCHoklch(18.9% 0.028 146.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 #0B170C 18.38:1 AAA Lc -107.1 Preferred for body text
Black text on #0B170C 1.14:1 Fails Lc 0.0 Not readable
#0B170C text on white 18.38:1 AAA Lc 105.0 Preferred for body text
#0B170C 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

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E6ECE6

    oklch(93.7% 0.01 145.5)

  3. Step 200

    200

    #D2DDD2

    oklch(88.6% 0.019 145.4)

  4. Step 300

    300

    #B3C7B4

    oklch(80.9% 0.034 146.6)

  5. Step 400

    400

    #8CAA8D

    oklch(70.7% 0.053 145.9)

  6. Step 500

    500

    #6F9571

    oklch(63.1% 0.068 146)

  7. Step 600

    600

    #567F59

    oklch(55.5% 0.074 146.3)

  8. Step 700

    700

    #466B49

    oklch(49% 0.068 146.4)

  9. Step 800

    800

    #3A573C

    oklch(42.6% 0.056 146.2)

  10. Step 900

    900

    #324834

    oklch(37.7% 0.044 147)

  11. Step 950

    950 (this color)

    #0B170C

    oklch(18.9% 0.028 146.3)

Export this scale for Tailwind in the Tailwind colors tool

#0B170C 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)#17150B0.022
Deuteranopia (no green cones)#16140D0.022
Tritanopia (no blue cones)#0A16140.017
Achromatopsia (no color)#1414140.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #0B170C

    #0B170C

    oklch(18.9% 0.028 146.3)

  • #1A0F1A

    #1A0F1A

    oklch(18.9% 0.028 326.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0B170C

    #0B170C

    oklch(18.9% 0.028 146.3)

  • #131506

    #131506

    oklch(18.9% 0.028 115.2)

  • #041813

    #041813

    oklch(19% 0.029 175)

Open the analogous palette in the generator

Split complementary

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

  • #0B170C

    #0B170C

    oklch(18.9% 0.028 146.3)

  • #15111F

    #15111F

    oklch(19% 0.028 296.7)

  • #1E0E14

    #1E0E14

    oklch(18.9% 0.029 356.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0B170C

    #0B170C

    oklch(18.9% 0.028 146.3)

  • #0E1320

    #0E1320

    oklch(18.9% 0.028 267.6)

  • #1F0F0D

    #1F0F0D

    oklch(19.1% 0.028 27.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0B170C

    #0B170C

    oklch(18.9% 0.028 146.3)

  • #06151E

    #06151E

    oklch(18.7% 0.028 236.2)

  • #1A0F1A

    #1A0F1A

    oklch(18.9% 0.028 326.6)

  • #1D1007

    #1D1007

    oklch(18.8% 0.028 55.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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