#151B2E

Closest named color: Rich Black (#0D1B2A). oklch(22.6% 0.038 269.8), rgb(21, 27, 46).

Aa

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

About this color

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

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

Values

HEX#151B2E
RGBrgb(21, 27, 46)
HSLhsl(226, 37%, 13%)
OKLCHoklch(22.6% 0.038 269.8)

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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E6EAF3

    oklch(93.7% 0.013 266.7)

  3. Step 200

    200

    #D2D9EA

    oklch(88.5% 0.025 267.9)

  4. Step 300

    300

    #B5C0DF

    oklch(80.9% 0.045 269.9)

  5. Step 400

    400

    #8F9FCF

    oklch(70.8% 0.073 270.2)

  6. Step 500

    500

    #7387C2

    oklch(63.2% 0.092 269.3)

  7. Step 600

    600

    #5C70AE

    oklch(55.7% 0.1 269.4)

  8. Step 700

    700

    #4C5D96

    oklch(49.1% 0.094 270.1)

  9. Step 800

    800

    #3E4C79

    oklch(42.6% 0.077 269.8)

  10. Step 900

    900

    #354062

    oklch(37.8% 0.06 269.7)

  11. Step 950

    950 (this color)

    #151B2E

    oklch(22.6% 0.038 269.8)

Export this scale for Tailwind in the Tailwind colors tool

#151B2E 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)#141D2F0.007
Deuteranopia (no green cones)#121B2E0.005
Tritanopia (no blue cones)#0C1F220.034
Achromatopsia (no color)#1C1C1C0.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #151B2E

    #151B2E

    oklch(22.6% 0.038 269.8)

  • #231B05

    #231B05

    oklch(22.6% 0.038 89.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #151B2E

    #151B2E

    oklch(22.6% 0.038 269.8)

  • #091E2C

    #091E2C

    oklch(22.6% 0.038 240.6)

  • #1F182B

    #1F182B

    oklch(22.7% 0.037 300.4)

Open the analogous palette in the generator

Split complementary

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

  • #151B2E

    #151B2E

    oklch(22.6% 0.038 269.8)

  • #291708

    #291708

    oklch(22.5% 0.039 59)

  • #1A1F09

    #1A1F09

    oklch(22.8% 0.038 120.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #151B2E

    #151B2E

    oklch(22.6% 0.038 269.8)

  • #2C1511

    #2C1511

    oklch(22.7% 0.039 30.8)

  • #0E2112

    #0E2112

    oklch(22.6% 0.038 149.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #151B2E

    #151B2E

    oklch(22.6% 0.038 269.8)

  • #2A141B

    #2A141B

    oklch(22.5% 0.038 0.1)

  • #231B05

    #231B05

    oklch(22.6% 0.038 89.6)

  • #03221D

    #03221D

    oklch(22.7% 0.038 180.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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