#181E27

Closest named color: Rich Black (#0D1B2A). oklch(23.3% 0.02 258.4), rgb(24, 30, 39).

Aa

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

About this color

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

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

Values

HEX#181E27
RGBrgb(24, 30, 39)
HSLhsl(216, 24%, 12%)
OKLCHoklch(23.3% 0.02 258.4)

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 #181E27 16.74:1 AAA Lc -106.1 Preferred for body text
Black text on #181E27 1.25:1 Fails Lc 0.0 Not readable
#181E27 text on white 16.74:1 AAA Lc 103.7 Preferred for body text
#181E27 text on black 1.25: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

    #F4F5F7

    oklch(97% 0.003 264.5)

  2. Step 100

    100

    #E7EAEE

    oklch(93.6% 0.006 255.5)

  3. Step 200

    200

    #D4D9E2

    oklch(88.4% 0.013 262.4)

  4. Step 300

    300

    #B8C1D0

    oklch(80.9% 0.023 260.7)

  5. Step 400

    400

    #93A2B8

    oklch(70.8% 0.036 257.9)

  6. Step 500

    500

    #788BA7

    oklch(63.2% 0.048 258)

  7. Step 600

    600

    #617492

    oklch(55.5% 0.052 259.4)

  8. Step 700

    700

    #50627C

    oklch(49.2% 0.047 257.5)

  9. Step 800

    800

    #425065

    oklch(42.8% 0.039 258.3)

  10. Step 900

    900

    #384252

    oklch(37.7% 0.031 259.7)

  11. Step 950

    950 (this color)

    #181E27

    oklch(23.3% 0.02 258.4)

Export this scale for Tailwind in the Tailwind colors tool

#181E27 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)#1B1E270.005
Deuteranopia (no green cones)#191D270.004
Tritanopia (no blue cones)#1420210.017
Achromatopsia (no color)#1E1E1E0.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #181E27

    #181E27

    oklch(23.3% 0.02 258.4)

  • #231D13

    #231D13

    oklch(23.4% 0.02 80.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #181E27

    #181E27

    oklch(23.3% 0.02 258.4)

  • #142025

    #142025

    oklch(23.5% 0.019 225.7)

  • #1D1C27

    #1D1C27

    oklch(23.3% 0.021 288.8)

Open the analogous palette in the generator

Split complementary

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

  • #181E27

    #181E27

    oklch(23.3% 0.02 258.4)

  • #261B16

    #261B16

    oklch(23.4% 0.02 45.6)

  • #1E1E14

    #1E1E14

    oklch(23.2% 0.018 107.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #181E27

    #181E27

    oklch(23.3% 0.02 258.4)

  • #261A1A

    #261A1A

    oklch(23.3% 0.019 18.6)

  • #192017

    #192017

    oklch(23.3% 0.02 138.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #181E27

    #181E27

    oklch(23.3% 0.02 258.4)

  • #251A1F

    #251A1F

    oklch(23.3% 0.02 349.7)

  • #231D13

    #231D13

    oklch(23.4% 0.02 80.2)

  • #14211C

    #14211C

    oklch(23.4% 0.021 168.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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