#151C28

Closest named color: Rich Black (#0D1B2A). oklch(22.5% 0.026 261), rgb(21, 28, 40).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (23%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.22:1
White text17.09:1

Values

HEX#151C28
RGBrgb(21, 28, 40)
HSLhsl(218, 31%, 12%)
OKLCHoklch(22.5% 0.026 261)

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

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E6EAF0

    oklch(93.6% 0.009 258.3)

  3. Step 200

    200

    #D3D9E5

    oklch(88.4% 0.018 264.5)

  4. Step 300

    300

    #B6C1D5

    oklch(80.9% 0.031 262.5)

  5. Step 400

    400

    #90A1C0

    oklch(70.6% 0.049 262.4)

  6. Step 500

    500

    #748AB0

    oklch(63% 0.063 261.2)

  7. Step 600

    600

    #5D749B

    oklch(55.6% 0.067 260.8)

  8. Step 700

    700

    #4C6185

    oklch(49.1% 0.064 260.9)

  9. Step 800

    800

    #3F4F6C

    oklch(42.7% 0.053 262)

  10. Step 900

    900

    #354257

    oklch(37.7% 0.04 259.9)

  11. Step 950

    950 (this color)

    #151C28

    oklch(22.5% 0.026 261)

Export this scale for Tailwind in the Tailwind colors tool

#151C28 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)#181D290.007
Deuteranopia (no green cones)#161B280.004
Tritanopia (no blue cones)#0F1F200.024
Achromatopsia (no color)#1C1C1C0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #151C28

    #151C28

    oklch(22.5% 0.026 261)

  • #221B0E

    #221B0E

    oklch(22.7% 0.025 82.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #151C28

    #151C28

    oklch(22.5% 0.026 261)

  • #0F1E26

    #0F1E26

    oklch(22.6% 0.026 232.8)

  • #1C1A27

    #1C1A27

    oklch(22.6% 0.025 291.3)

Open the analogous palette in the generator

Split complementary

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

  • #151C28

    #151C28

    oklch(22.5% 0.026 261)

  • #261811

    #261811

    oklch(22.5% 0.026 47.5)

  • #1C1D0F

    #1C1D0F

    oklch(22.5% 0.025 111.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #151C28

    #151C28

    oklch(22.5% 0.026 261)

  • #271717

    #271717

    oklch(22.6% 0.026 19.3)

  • #151F14

    #151F14

    oklch(22.6% 0.025 142.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #151C28

    #151C28

    oklch(22.5% 0.026 261)

  • #25171D

    #25171D

    oklch(22.5% 0.025 351.9)

  • #221B0E

    #221B0E

    oklch(22.7% 0.025 82.3)

  • #0F201A

    #0F201A

    oklch(22.6% 0.026 169.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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