#1B181F

Closest named color: Rich Black (#0D1B2A). oklch(21.6% 0.014 304.7), rgb(27, 24, 31).

Aa

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

About this color

#1B181F is a very dark close to neutral grey. In OKLCH its lightness is 22%, its chroma 0.014. It has too little chroma to lean warm or cool. The nearest named color is Rich Black (#0D1B2A), ΔE 0.029 away. White text reads best on it, at 17.54:1.

Hue familyNeutrals
Lightnessvery dark (22%)
Chromaclose to neutral grey (0.014)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.19:1
White text17.54:1

Values

HEX#1B181F
RGBrgb(27, 24, 31)
HSLhsl(266, 13%, 11%)
OKLCHoklch(21.6% 0.014 304.7)

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 #1B181F 17.54:1 AAA Lc -106.6 Preferred for body text
Black text on #1B181F 1.19:1 Fails Lc 0.0 Not readable
#1B181F text on white 17.54:1 AAA Lc 104.4 Preferred for body text
#1B181F text on black 1.19: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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #EAE9EC

    oklch(93.6% 0.004 301.4)

  3. Step 200

    200

    #DAD8DE

    oklch(88.6% 0.008 301.3)

  4. Step 300

    300

    #C3BECA

    oklch(80.9% 0.017 304.7)

  5. Step 400

    400

    #A49DAF

    oklch(70.8% 0.027 303.3)

  6. Step 500

    500

    #8E859B

    oklch(63.2% 0.034 304)

  7. Step 600

    600

    #786E85

    oklch(55.5% 0.037 304.9)

  8. Step 700

    700

    #655C71

    oklch(49.1% 0.035 304.6)

  9. Step 800

    800

    #524B5C

    oklch(42.6% 0.029 303.9)

  10. Step 900

    900

    #443F4B

    oklch(37.7% 0.021 304.3)

  11. Step 950

    950 (this color)

    #1B181F

    oklch(21.6% 0.014 304.7)

Export this scale for Tailwind in the Tailwind colors tool

#1B181F 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)#17191F0.008
Deuteranopia (no green cones)#17191F0.008
Tritanopia (no blue cones)#1A191A0.012
Achromatopsia (no color)#1919190.014

Harmonies

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

This color is close to neutral, so it has no meaningful hue to rotate. Hue harmonies are omitted.

Palettes with this color

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

Similar named colors

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

Use #1B181F 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.