#151B2A

Closest named color: Rich Black (#0D1B2A). oklch(22.4% 0.031 267.2), rgb(21, 27, 42).

Aa

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

About this color

#151B2A is a very dark, muted blue. In OKLCH its lightness is 22%, its chroma 0.031 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.012 away. White text reads best on it, at 17.18:1.

Hue familyBlues
Lightnessvery dark (22%)
Chromamuted (0.031)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.22:1
White text17.18:1

Values

HEX#151B2A
RGBrgb(21, 27, 42)
HSLhsl(223, 33%, 12%)
OKLCHoklch(22.4% 0.031 267.2)

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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E7EAF1

    oklch(93.7% 0.01 267.4)

  3. Step 200

    200

    #D3D9E7

    oklch(88.5% 0.02 267.3)

  4. Step 300

    300

    #B6C0D9

    oklch(80.8% 0.037 268.2)

  5. Step 400

    400

    #90A0C6

    oklch(70.7% 0.059 267)

  6. Step 500

    500

    #7588B7

    oklch(63% 0.075 267.3)

  7. Step 600

    600

    #5E72A3

    oklch(55.7% 0.08 266.8)

  8. Step 700

    700

    #4D5F8C

    oklch(49% 0.076 267)

  9. Step 800

    800

    #404E72

    oklch(42.8% 0.063 267.5)

  10. Step 900

    900

    #36415C

    oklch(37.8% 0.049 267)

  11. Step 950

    950 (this color)

    #151B2A

    oklch(22.4% 0.031 267.2)

Export this scale for Tailwind in the Tailwind colors tool

#151B2A 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)#161C2B0.004
Deuteranopia (no green cones)#141A2A0.004
Tritanopia (no blue cones)#0E1E200.028
Achromatopsia (no color)#1B1B1B0.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #151B2A

    #151B2A

    oklch(22.4% 0.031 267.2)

  • #221B0A

    #221B0A

    oklch(22.6% 0.031 87.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #151B2A

    #151B2A

    oklch(22.4% 0.031 267.2)

  • #0C1E28

    #0C1E28

    oklch(22.5% 0.031 234.7)

  • #1D1828

    #1D1828

    oklch(22.3% 0.031 298.2)

Open the analogous palette in the generator

Split complementary

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

  • #151B2A

    #151B2A

    oklch(22.4% 0.031 267.2)

  • #26180D

    #26180D

    oklch(22.4% 0.03 58.6)

  • #1A1D0C

    #1A1D0C

    oklch(22.2% 0.031 117.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #151B2A

    #151B2A

    oklch(22.4% 0.031 267.2)

  • #281614

    #281614

    oklch(22.4% 0.03 26.6)

  • #111F13

    #111F13

    oklch(22.2% 0.03 148.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #151B2A

    #151B2A

    oklch(22.4% 0.031 267.2)

  • #27151C

    #27151C

    oklch(22.3% 0.032 355)

  • #221B0A

    #221B0A

    oklch(22.6% 0.031 87.5)

  • #09201B

    #09201B

    oklch(22.3% 0.031 177)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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