#151B38

Closest named color: Rich Black (#0D1B2A). oklch(23.4% 0.056 272.5), rgb(21, 27, 56).

Aa

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

About this color

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

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

Values

HEX#151B38
RGBrgb(21, 27, 56)
HSLhsl(230, 45%, 15%)
OKLCHoklch(23.4% 0.056 272.5)

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

    #E5E9F7

    oklch(93.5% 0.019 273.2)

  3. Step 200

    200

    #D0D8F2

    oklch(88.4% 0.037 272)

  4. Step 300

    300

    #B2BFED

    oklch(81% 0.067 272.5)

  5. Step 400

    400

    #8A9CE3

    oklch(70.7% 0.106 272.6)

  6. Step 500

    500

    #6E82DB

    oklch(63.1% 0.136 272.4)

  7. Step 600

    600

    #576AC9

    oklch(55.7% 0.148 272.3)

  8. Step 700

    700

    #4857AE

    oklch(49.1% 0.139 272.9)

  9. Step 800

    800

    #3B488D

    oklch(42.8% 0.114 272.7)

  10. Step 900

    900

    #323D70

    oklch(37.7% 0.088 272.4)

  11. Step 950

    950 (this color)

    #151B38

    oklch(23.4% 0.056 272.5)

Export this scale for Tailwind in the Tailwind colors tool

#151B38 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)#0E1F390.015
Deuteranopia (no green cones)#0A1C370.015
Tritanopia (no blue cones)#0521260.050
Achromatopsia (no color)#1D1D1D0.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #151B38

    #151B38

    oklch(23.4% 0.056 272.5)

  • #261D00

    #261D00

    oklch(23.5% 0.048 92.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #151B38

    #151B38

    oklch(23.4% 0.056 272.5)

  • #002036

    #002036

    oklch(23.4% 0.056 242.9)

  • #231633

    #231633

    oklch(23.3% 0.056 303)

Open the analogous palette in the generator

Split complementary

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

  • #151B38

    #151B38

    oklch(23.4% 0.056 272.5)

  • #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.

  • #151B38

    #151B38

    oklch(23.4% 0.056 272.5)

  • #34120B

    #34120B

    oklch(23.4% 0.057 33.2)

  • #032510

    #032510

    oklch(23.4% 0.056 152.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #151B38

    #151B38

    oklch(23.4% 0.056 272.5)

  • #32111B

    #32111B

    oklch(23.3% 0.055 3.3)

  • #261D00

    #261D00

    oklch(23.5% 0.048 92.4)

  • #00241F

    #00241F

    oklch(23.3% 0.042 181.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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