#151B39

Closest named color: Rich Black (#0D1B2A). oklch(23.4% 0.058 272.7), rgb(21, 27, 57).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (23%)
Chromamuted (0.058)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.24:1
White text16.83:1

Values

HEX#151B39
RGBrgb(21, 27, 57)
HSLhsl(230, 46%, 15%)
OKLCHoklch(23.4% 0.058 272.7)

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 #151B39 16.83:1 AAA Lc -106.1 Preferred for body text
Black text on #151B39 1.24:1 Fails Lc 0.0 Not readable
#151B39 text on white 16.83:1 AAA Lc 103.7 Preferred for body text
#151B39 text on black 1.24: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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F8

    oklch(93.5% 0.021 274)

  3. Step 200

    200

    #D0D8F3

    oklch(88.5% 0.038 272.5)

  4. Step 300

    300

    #B1BEEE

    oklch(80.8% 0.07 272.9)

  5. Step 400

    400

    #899CE5

    oklch(70.7% 0.109 272.2)

  6. Step 500

    500

    #6D81DE

    oklch(63% 0.141 272.6)

  7. Step 600

    600

    #5769CC

    oklch(55.7% 0.153 272.7)

  8. Step 700

    700

    #4757B0

    oklch(49.1% 0.142 272.5)

  9. Step 800

    800

    #3A478F

    oklch(42.6% 0.119 272.7)

  10. Step 900

    900

    #323C72

    oklch(37.6% 0.093 273.3)

  11. Step 950

    950 (this color)

    #151B39

    oklch(23.4% 0.058 272.7)

Export this scale for Tailwind in the Tailwind colors tool

#151B39 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)#0E1F3A0.015
Deuteranopia (no green cones)#091C380.016
Tritanopia (no blue cones)#0422270.052
Achromatopsia (no color)#1D1D1D0.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #151B39

    #151B39

    oklch(23.4% 0.058 272.7)

  • #261D00

    #261D00

    oklch(23.5% 0.048 92.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #151B39

    #151B39

    oklch(23.4% 0.058 272.7)

  • #002036

    #002036

    oklch(23.4% 0.056 242.9)

  • #231634

    #231634

    oklch(23.3% 0.058 302.1)

Open the analogous palette in the generator

Split complementary

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

  • #151B39

    #151B39

    oklch(23.4% 0.058 272.7)

  • #2F1700

    #2F1700

    oklch(23.4% 0.053 62.7)

  • #192200

    #192200

    oklch(23.5% 0.058 123)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #151B39

    #151B39

    oklch(23.4% 0.058 272.7)

  • #34120B

    #34120B

    oklch(23.4% 0.057 33.2)

  • #022510

    #022510

    oklch(23.3% 0.057 153)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #151B39

    #151B39

    oklch(23.4% 0.058 272.7)

  • #33101B

    #33101B

    oklch(23.3% 0.058 3)

  • #261D00

    #261D00

    oklch(23.5% 0.048 92.4)

  • #002420

    #002420

    oklch(23.4% 0.041 184.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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