#151F2C

Closest named color: Rich Black (#0D1B2A). oklch(23.6% 0.029 255.3), rgb(21, 31, 44).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (24%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.26:1
White text16.61:1

Values

HEX#151F2C
RGBrgb(21, 31, 44)
HSLhsl(214, 35%, 13%)
OKLCHoklch(23.6% 0.029 255.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 #151F2C 16.61:1 AAA Lc -106.0 Preferred for body text
Black text on #151F2C 1.26:1 Fails Lc 0.0 Not readable
#151F2C text on white 16.61:1 AAA Lc 103.5 Preferred for body text
#151F2C text on black 1.26: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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF1

    oklch(93.5% 0.011 256.7)

  3. Step 200

    200

    #D1DAE6

    oklch(88.5% 0.019 255.5)

  4. Step 300

    300

    #B2C2D7

    oklch(80.9% 0.035 255.2)

  5. Step 400

    400

    #8AA3C3

    oklch(70.8% 0.055 254.7)

  6. Step 500

    500

    #6D8CB4

    oklch(63.2% 0.07 255)

  7. Step 600

    600

    #5575A0

    oklch(55.6% 0.077 256)

  8. Step 700

    700

    #456289

    oklch(49.1% 0.072 256.1)

  9. Step 800

    800

    #39506F

    oklch(42.6% 0.059 256.1)

  10. Step 900

    900

    #31435A

    oklch(37.8% 0.046 254.9)

  11. Step 950

    950 (this color)

    #151F2C

    oklch(23.6% 0.029 255.3)

Export this scale for Tailwind in the Tailwind colors tool

#151F2C 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)#1A202D0.009
Deuteranopia (no green cones)#171D2C0.007
Tritanopia (no blue cones)#0D22230.026
Achromatopsia (no color)#1E1E1E0.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #151F2C

    #151F2C

    oklch(23.6% 0.029 255.3)

  • #261C0E

    #261C0E

    oklch(23.5% 0.029 74.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #151F2C

    #151F2C

    oklch(23.6% 0.029 255.3)

  • #0E2129

    #0E2129

    oklch(23.6% 0.029 227.4)

  • #1D1C2C

    #1D1C2C

    oklch(23.5% 0.031 286.7)

Open the analogous palette in the generator

Split complementary

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

  • #151F2C

    #151F2C

    oklch(23.6% 0.029 255.3)

  • #2A1A13

    #2A1A13

    oklch(23.6% 0.029 44.5)

  • #201F0F

    #201F0F

    oklch(23.5% 0.028 105.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #151F2C

    #151F2C

    oklch(23.6% 0.029 255.3)

  • #2B191A

    #2B191A

    oklch(23.8% 0.029 15.8)

  • #182214

    #182214

    oklch(23.8% 0.03 137)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #151F2C

    #151F2C

    oklch(23.6% 0.029 255.3)

  • #281921

    #281921

    oklch(23.6% 0.028 346.2)

  • #261C0E

    #261C0E

    oklch(23.5% 0.029 74.9)

  • #10231B

    #10231B

    oklch(23.7% 0.03 165.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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