#1B1C28

Closest named color: Rich Black (#0D1B2A). oklch(23.1% 0.023 280.7), rgb(27, 28, 40).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (23%)
Chromaclose to neutral grey (0.023)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.24:1
White text16.88:1

Values

HEX#1B1C28
RGBrgb(27, 28, 40)
HSLhsl(235, 19%, 13%)
OKLCHoklch(23.1% 0.023 280.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 #1B1C28 16.88:1 AAA Lc -106.2 Preferred for body text
Black text on #1B1C28 1.24:1 Fails Lc 0.0 Not readable
#1B1C28 text on white 16.88:1 AAA Lc 103.8 Preferred for body text
#1B1C28 text on black 1.24: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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E9E9EF

    oklch(93.6% 0.008 286.2)

  3. Step 200

    200

    #D7D8E3

    oklch(88.5% 0.015 281.9)

  4. Step 300

    300

    #BDBFD3

    oklch(80.9% 0.028 281.2)

  5. Step 400

    400

    #9B9EBC

    oklch(70.7% 0.044 280.7)

  6. Step 500

    500

    #8386AB

    oklch(63.1% 0.056 281.1)

  7. Step 600

    600

    #6C6F97

    oklch(55.5% 0.062 280.8)

  8. Step 700

    700

    #5A5D81

    oklch(49% 0.058 280.3)

  9. Step 800

    800

    #4A4C69

    oklch(42.7% 0.048 281.1)

  10. Step 900

    900

    #3E4055

    oklch(37.8% 0.036 280.3)

  11. Step 950

    950 (this color)

    #1B1C28

    oklch(23.1% 0.023 280.7)

Export this scale for Tailwind in the Tailwind colors tool

#1B1C28 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)#191D290.005
Deuteranopia (no green cones)#181C280.005
Tritanopia (no blue cones)#181E200.020
Achromatopsia (no color)#1D1D1D0.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B1C28

    #1B1C28

    oklch(23.1% 0.023 280.7)

  • #1F1E11

    #1F1E11

    oklch(23.2% 0.023 104.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B1C28

    #1B1C28

    oklch(23.1% 0.023 280.7)

  • #151E28

    #151E28

    oklch(23.1% 0.023 251.5)

  • #211A25

    #211A25

    oklch(23.1% 0.023 313.1)

Open the analogous palette in the generator

Split complementary

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

  • #1B1C28

    #1B1C28

    oklch(23.1% 0.023 280.7)

  • #241B11

    #241B11

    oklch(23% 0.023 69.2)

  • #191F14

    #191F14

    oklch(22.9% 0.022 131.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B1C28

    #1B1C28

    oklch(23.1% 0.023 280.7)

  • #271A15

    #271A15

    oklch(23.3% 0.023 42)

  • #13211A

    #13211A

    oklch(23.2% 0.024 162.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B1C28

    #1B1C28

    oklch(23.1% 0.023 280.7)

  • #27191A

    #27191A

    oklch(23.2% 0.023 14.2)

  • #1F1E11

    #1F1E11

    oklch(23.2% 0.023 104.3)

  • #0F2120

    #0F2120

    oklch(23.2% 0.024 191)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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