#181836

Closest named color: Rich Black (#0D1B2A). oklch(22.7% 0.057 280.9), rgb(24, 24, 54).

Aa

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

About this color

#181836 is a very dark, muted purple. In OKLCH its lightness is 23%, its chroma 0.057 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.033 away. White text reads best on it, at 17.17:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamuted (0.057)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.22:1
White text17.17:1

Values

HEX#181836
RGBrgb(24, 24, 54)
HSLhsl(240, 38%, 15%)
OKLCHoklch(22.7% 0.057 280.9)

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 #181836 17.17:1 AAA Lc -106.3 Preferred for body text
Black text on #181836 1.22:1 Fails Lc 0.0 Not readable
#181836 text on white 17.17:1 AAA Lc 104.0 Preferred for body text
#181836 text on black 1.22: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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E7E9F7

    oklch(93.7% 0.019 279.5)

  3. Step 200

    200

    #D4D7F2

    oklch(88.5% 0.037 280.6)

  4. Step 300

    300

    #B8BCEC

    oklch(80.8% 0.068 281)

  5. Step 400

    400

    #9498E3

    oklch(70.6% 0.109 280.9)

  6. Step 500

    500

    #7C7DDA

    oklch(63% 0.138 281.2)

  7. Step 600

    600

    #6665C8

    oklch(55.7% 0.15 280.8)

  8. Step 700

    700

    #5553AD

    oklch(49.1% 0.14 280.9)

  9. Step 800

    800

    #45448C

    oklch(42.6% 0.116 280.9)

  10. Step 900

    900

    #3A3A70

    oklch(37.7% 0.091 281.1)

  11. Step 950

    950 (this color)

    #181836

    oklch(22.7% 0.057 280.9)

Export this scale for Tailwind in the Tailwind colors tool

#181836 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)#0B1C370.021
Deuteranopia (no green cones)#091A350.022
Tritanopia (no blue cones)#0D1E240.049
Achromatopsia (no color)#1B1B1B0.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #181836

    #181836

    oklch(22.7% 0.057 280.9)

  • #211D00

    #211D00

    oklch(22.8% 0.048 102.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #181836

    #181836

    oklch(22.7% 0.057 280.9)

  • #041D36

    #041D36

    oklch(22.7% 0.058 251)

  • #251330

    #251330

    oklch(22.7% 0.059 311.2)

Open the analogous palette in the generator

Split complementary

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

  • #181836

    #181836

    oklch(22.7% 0.057 280.9)

  • #2A1800

    #2A1800

    oklch(22.8% 0.049 72.5)

  • #122102

    #122102

    oklch(22.6% 0.057 131)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #181836

    #181836

    oklch(22.7% 0.057 280.9)

  • #321105

    #321105

    oklch(22.8% 0.058 40.8)

  • #002314

    #002314

    oklch(22.6% 0.05 160.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #181836

    #181836

    oklch(22.7% 0.057 280.9)

  • #320F16

    #320F16

    oklch(22.8% 0.057 10.5)

  • #211D00

    #211D00

    oklch(22.8% 0.048 102.2)

  • #002221

    #002221

    oklch(22.8% 0.039 191.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #181836 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.