#181C2A

Closest named color: Rich Black (#0D1B2A). oklch(22.9% 0.028 271.8), rgb(24, 28, 42).

Aa

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

About this color

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

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

Values

HEX#181C2A
RGBrgb(24, 28, 42)
HSLhsl(227, 27%, 13%)
OKLCHoklch(22.9% 0.028 271.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 #181C2A 16.95:1 AAA Lc -106.2 Preferred for body text
Black text on #181C2A 1.23:1 Fails Lc 0.0 Not readable
#181C2A text on white 16.95:1 AAA Lc 103.9 Preferred for body text
#181C2A text on black 1.23: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

    #E7EAF0

    oklch(93.6% 0.009 264.5)

  3. Step 200

    200

    #D5D9E6

    oklch(88.6% 0.018 272.3)

  4. Step 300

    300

    #B9C0D7

    oklch(81% 0.033 272.2)

  5. Step 400

    400

    #959FC2

    oklch(70.7% 0.052 272.5)

  6. Step 500

    500

    #7B87B3

    oklch(63% 0.068 272.5)

  7. Step 600

    600

    #64719F

    oklch(55.7% 0.073 271.7)

  8. Step 700

    700

    #535E88

    oklch(49% 0.069 272.4)

  9. Step 800

    800

    #444D6E

    oklch(42.7% 0.056 272.1)

  10. Step 900

    900

    #394059

    oklch(37.6% 0.044 272.1)

  11. Step 950

    950 (this color)

    #181C2A

    oklch(22.9% 0.028 271.8)

Export this scale for Tailwind in the Tailwind colors tool

#181C2A 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)#181D2B0.004
Deuteranopia (no green cones)#161C2A0.003
Tritanopia (no blue cones)#131F210.025
Achromatopsia (no color)#1C1C1C0.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #181C2A

    #181C2A

    oklch(22.9% 0.028 271.8)

  • #211C0D

    #211C0D

    oklch(22.8% 0.027 91.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #181C2A

    #181C2A

    oklch(22.9% 0.028 271.8)

  • #111E29

    #111E29

    oklch(22.9% 0.028 245)

  • #1F1A28

    #1F1A28

    oklch(23% 0.027 300.6)

Open the analogous palette in the generator

Split complementary

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

  • #181C2A

    #181C2A

    oklch(22.9% 0.028 271.8)

  • #261A0F

    #261A0F

    oklch(23% 0.027 63.3)

  • #1B1F10

    #1B1F10

    oklch(23% 0.028 120.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #181C2A

    #181C2A

    oklch(22.9% 0.028 271.8)

  • #281815

    #281815

    oklch(22.9% 0.027 31)

  • #132116

    #132116

    oklch(23.1% 0.029 150.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #181C2A

    #181C2A

    oklch(22.9% 0.028 271.8)

  • #28171C

    #28171C

    oklch(22.9% 0.029 0.5)

  • #211C0D

    #211C0D

    oklch(22.8% 0.027 91.6)

  • #0C211E

    #0C211E

    oklch(22.9% 0.028 183.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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