#151D27

Closest named color: Rich Black (#0D1B2A). oklch(22.8% 0.023 254.3), rgb(21, 29, 39).

Aa

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

About this color

#151D27 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.016 away. White text reads best on it, at 16.97:1.

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

Values

HEX#151D27
RGBrgb(21, 29, 39)
HSLhsl(213, 30%, 12%)
OKLCHoklch(22.8% 0.023 254.3)

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 #151D27 16.97:1 AAA Lc -106.2 Preferred for body text
Black text on #151D27 1.23:1 Fails Lc 0.0 Not readable
#151D27 text on white 16.97:1 AAA Lc 103.9 Preferred for body text
#151D27 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

    #F4F6F8

    oklch(97.2% 0.003 247.9)

  2. Step 100

    100

    #E6EAEF

    oklch(93.5% 0.008 253.9)

  3. Step 200

    200

    #D3DAE3

    oklch(88.6% 0.015 254.6)

  4. Step 300

    300

    #B5C2D2

    oklch(80.9% 0.027 253.6)

  5. Step 400

    400

    #8FA3BC

    oklch(70.8% 0.043 254.1)

  6. Step 500

    500

    #738CAB

    oklch(63.2% 0.055 254)

  7. Step 600

    600

    #5B7596

    oklch(55.5% 0.06 254.7)

  8. Step 700

    700

    #4B6280

    oklch(49% 0.056 255.3)

  9. Step 800

    800

    #3D5068

    oklch(42.6% 0.047 254.6)

  10. Step 900

    900

    #344355

    oklch(37.7% 0.037 253.3)

  11. Step 950

    950 (this color)

    #151D27

    oklch(22.8% 0.023 254.3)

Export this scale for Tailwind in the Tailwind colors tool

#151D27 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)#191D270.007
Deuteranopia (no green cones)#171C270.005
Tritanopia (no blue cones)#0F1F200.020
Achromatopsia (no color)#1C1C1C0.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #151D27

    #151D27

    oklch(22.8% 0.023 254.3)

  • #231B10

    #231B10

    oklch(22.8% 0.023 75)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #151D27

    #151D27

    oklch(22.8% 0.023 254.3)

  • #101F24

    #101F24

    oklch(22.8% 0.023 221.1)

  • #1B1B27

    #1B1B27

    oklch(22.8% 0.023 284.4)

Open the analogous palette in the generator

Split complementary

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

  • #151D27

    #151D27

    oklch(22.8% 0.023 254.3)

  • #261914

    #261914

    oklch(22.8% 0.023 42)

  • #1E1D10

    #1E1D10

    oklch(22.8% 0.023 104.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #151D27

    #151D27

    oklch(22.8% 0.023 254.3)

  • #261819

    #261819

    oklch(22.8% 0.023 14.3)

  • #181F14

    #181F14

    oklch(22.8% 0.023 134.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #151D27

    #151D27

    oklch(22.8% 0.023 254.3)

  • #24181F

    #24181F

    oklch(22.7% 0.023 343.2)

  • #231B10

    #231B10

    oklch(22.8% 0.023 75)

  • #12201A

    #12201A

    oklch(22.8% 0.023 165.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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