#181D27

Closest named color: Rich Black (#0D1B2A). oklch(23% 0.021 264), rgb(24, 29, 39).

Aa

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

About this color

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

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

Values

HEX#181D27
RGBrgb(24, 29, 39)
HSLhsl(220, 24%, 12%)
OKLCHoklch(23% 0.021 264)

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 #181D27 16.88:1 AAA Lc -106.2 Preferred for body text
Black text on #181D27 1.24:1 Fails Lc 0.0 Not readable
#181D27 text on white 16.88:1 AAA Lc 103.8 Preferred for body text
#181D27 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

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E7EAEF

    oklch(93.6% 0.007 260.7)

  3. Step 200

    200

    #D4D9E2

    oklch(88.4% 0.013 262.4)

  4. Step 300

    300

    #B9C1D1

    oklch(81% 0.024 264.4)

  5. Step 400

    400

    #94A1BA

    oklch(70.7% 0.039 263.5)

  6. Step 500

    500

    #7A8AA9

    oklch(63.2% 0.05 263.5)

  7. Step 600

    600

    #637394

    oklch(55.5% 0.055 264.5)

  8. Step 700

    700

    #52617E

    oklch(49.2% 0.05 263.3)

  9. Step 800

    800

    #434F67

    oklch(42.7% 0.043 264)

  10. Step 900

    900

    #394253

    oklch(37.8% 0.032 263)

  11. Step 950

    950 (this color)

    #181D27

    oklch(23% 0.021 264)

Export this scale for Tailwind in the Tailwind colors tool

#181D27 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)#1A1E270.005
Deuteranopia (no green cones)#181C270.004
Tritanopia (no blue cones)#141F200.019
Achromatopsia (no color)#1D1D1D0.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #181D27

    #181D27

    oklch(23% 0.021 264)

  • #221C12

    #221C12

    oklch(23% 0.02 80.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #181D27

    #181D27

    oklch(23% 0.021 264)

  • #131F25

    #131F25

    oklch(23.1% 0.021 230.4)

  • #1D1B26

    #1D1B26

    oklch(22.9% 0.021 293)

Open the analogous palette in the generator

Split complementary

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

  • #181D27

    #181D27

    oklch(23% 0.021 264)

  • #251A14

    #251A14

    oklch(22.9% 0.021 49.9)

  • #1D1E13

    #1D1E13

    oklch(23% 0.02 112.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #181D27

    #181D27

    oklch(23% 0.021 264)

  • #261918

    #261918

    oklch(23% 0.021 23.8)

  • #172017

    #172017

    oklch(23.1% 0.021 144.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #181D27

    #181D27

    oklch(23% 0.021 264)

  • #25191E

    #25191E

    oklch(23.1% 0.021 352.1)

  • #221C12

    #221C12

    oklch(23% 0.02 80.2)

  • #12201C

    #12201C

    oklch(22.9% 0.021 174.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #181D27 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.