#151B32

Closest named color: Rich Black (#0D1B2A). oklch(22.9% 0.046 271.4), rgb(21, 27, 50).

Aa

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

About this color

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

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

Values

HEX#151B32
RGBrgb(21, 27, 50)
HSLhsl(228, 41%, 14%)
OKLCHoklch(22.9% 0.046 271.4)

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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E6EAF5

    oklch(93.7% 0.015 270)

  3. Step 200

    200

    #D2D9EE

    oklch(88.6% 0.03 271.1)

  4. Step 300

    300

    #B4BFE4

    oklch(80.8% 0.054 272.1)

  5. Step 400

    400

    #8D9ED7

    oklch(70.8% 0.086 271.3)

  6. Step 500

    500

    #7185CC

    oklch(63.1% 0.11 271)

  7. Step 600

    600

    #5A6DB9

    oklch(55.5% 0.12 271.4)

  8. Step 700

    700

    #4A5BA0

    oklch(49.1% 0.112 271.3)

  9. Step 800

    800

    #3D4B81

    oklch(42.8% 0.091 271.1)

  10. Step 900

    900

    #343F68

    oklch(37.8% 0.072 271.3)

  11. Step 950

    950 (this color)

    #151B32

    oklch(22.9% 0.046 271.4)

Export this scale for Tailwind in the Tailwind colors tool

#151B32 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)#121E330.010
Deuteranopia (no green cones)#0F1B310.009
Tritanopia (no blue cones)#0920240.041
Achromatopsia (no color)#1C1C1C0.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #151B32

    #151B32

    oklch(22.9% 0.046 271.4)

  • #251C01

    #251C01

    oklch(23.1% 0.046 91.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #151B32

    #151B32

    oklch(22.9% 0.046 271.4)

  • #051F30

    #051F30

    oklch(22.9% 0.046 241)

  • #21172E

    #21172E

    oklch(22.9% 0.045 303)

Open the analogous palette in the generator

Split complementary

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

  • #151B32

    #151B32

    oklch(22.9% 0.046 271.4)

  • #2C1704

    #2C1704

    oklch(22.9% 0.046 60.9)

  • #192005

    #192005

    oklch(22.9% 0.047 122.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #151B32

    #151B32

    oklch(22.9% 0.046 271.4)

  • #2F140F

    #2F140F

    oklch(23% 0.045 31.7)

  • #0A2311

    #0A2311

    oklch(23% 0.047 150.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #151B32

    #151B32

    oklch(22.9% 0.046 271.4)

  • #2E131B

    #2E131B

    oklch(23% 0.045 2.4)

  • #251C01

    #251C01

    oklch(23.1% 0.046 91.3)

  • #00231E

    #00231E

    oklch(23% 0.041 181.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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