#1B2018

Closest named color: Jet (#212529). oklch(23.5% 0.017 133.8), rgb(27, 32, 24).

Aa

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

About this color

#1B2018 is a very dark close to neutral grey. In OKLCH its lightness is 24%, its chroma 0.017. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.035 away. White text reads best on it, at 16.58:1.

Hue familyNeutrals
Lightnessvery dark (24%)
Chromaclose to neutral grey (0.017)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.26:1
White text16.58:1

Values

HEX#1B2018
RGBrgb(27, 32, 24)
HSLhsl(98, 14%, 11%)
OKLCHoklch(23.5% 0.017 133.8)

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 #1B2018 16.58:1 AAA Lc -106.0 Preferred for body text
Black text on #1B2018 1.26:1 Fails Lc 0.0 Not readable
#1B2018 text on white 16.58:1 AAA Lc 103.5 Preferred for body text
#1B2018 text on black 1.26: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

    #F5F6F4

    oklch(97.2% 0.003 128.5)

  2. Step 100

    100

    #E8EBE7

    oklch(93.7% 0.006 137.8)

  3. Step 200

    200

    #D6DBD3

    oklch(88.5% 0.012 133.4)

  4. Step 300

    300

    #BBC4B7

    oklch(81% 0.02 135.8)

  5. Step 400

    400

    #99A591

    oklch(70.7% 0.032 132.7)

  6. Step 500

    500

    #808F76

    oklch(63.1% 0.04 132.9)

  7. Step 600

    600

    #69795F

    oklch(55.5% 0.044 133.5)

  8. Step 700

    700

    #57664E

    oklch(49% 0.042 133.9)

  9. Step 800

    800

    #475340

    oklch(42.6% 0.034 134.1)

  10. Step 900

    900

    #3C4537

    oklch(37.8% 0.026 134.4)

  11. Step 950

    950 (this color)

    #1B2018

    oklch(23.5% 0.017 133.8)

Export this scale for Tailwind in the Tailwind colors tool

#1B2018 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)#211F180.011
Deuteranopia (no green cones)#201E180.011
Tritanopia (no blue cones)#1B1F1E0.013
Achromatopsia (no color)#1E1E1E0.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B2018

    #1B2018

    oklch(23.5% 0.017 133.8)

  • #211C24

    #211C24

    oklch(23.6% 0.017 312.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B2018

    #1B2018

    oklch(23.5% 0.017 133.8)

  • #1F1F16

    #1F1F16

    oklch(23.6% 0.016 107.6)

  • #17211C

    #17211C

    oklch(23.6% 0.017 163.1)

Open the analogous palette in the generator

Split complementary

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

  • #1B2018

    #1B2018

    oklch(23.5% 0.017 133.8)

  • #1D1D26

    #1D1D26

    oklch(23.5% 0.017 285)

  • #241B20

    #241B20

    oklch(23.5% 0.017 344)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B2018

    #1B2018

    oklch(23.5% 0.017 133.8)

  • #191F26

    #191F26

    oklch(23.6% 0.016 252.5)

  • #261B1C

    #261B1C

    oklch(23.6% 0.018 12.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B2018

    #1B2018

    oklch(23.5% 0.017 133.8)

  • #162024

    #162024

    oklch(23.6% 0.016 224.4)

  • #211C24

    #211C24

    oklch(23.6% 0.017 312.8)

  • #251C18

    #251C18

    oklch(23.6% 0.016 45.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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