#151B3B

Closest named color: Rich Black (#0D1B2A). oklch(23.6% 0.062 272.8), rgb(21, 27, 59).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (24%)
Chromamuted (0.062)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.25:1
White text16.77:1

Values

HEX#151B3B
RGBrgb(21, 27, 59)
HSLhsl(231, 48%, 16%)
OKLCHoklch(23.6% 0.062 272.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 #151B3B 16.77:1 AAA Lc -106.0 Preferred for body text
Black text on #151B3B 1.25:1 Fails Lc 0.0 Not readable
#151B3B text on white 16.77:1 AAA Lc 103.6 Preferred for body text
#151B3B text on black 1.25: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

    #D0D8F5

    oklch(88.5% 0.041 273.3)

  4. Step 300

    300

    #B0BEF1

    oklch(80.8% 0.074 272.7)

  5. Step 400

    400

    #889BE9

    oklch(70.6% 0.116 272.7)

  6. Step 500

    500

    #6C80E3

    oklch(63% 0.15 272.8)

  7. Step 600

    600

    #5667D1

    oklch(55.6% 0.163 273.1)

  8. Step 700

    700

    #4655B5

    oklch(49% 0.152 272.8)

  9. Step 800

    800

    #3A4692

    oklch(42.6% 0.125 273.2)

  10. Step 900

    900

    #313C75

    oklch(37.8% 0.098 272.7)

  11. Step 950

    950 (this color)

    #151B3B

    oklch(23.6% 0.062 272.8)

Export this scale for Tailwind in the Tailwind colors tool

#151B3B 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)#0C1F3C0.016
Deuteranopia (no green cones)#071C3A0.018
Tritanopia (no blue cones)#0222280.054
Achromatopsia (no color)#1D1D1D0.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #151B3B

    #151B3B

    oklch(23.6% 0.062 272.8)

  • #261D00

    #261D00

    oklch(23.5% 0.048 92.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #151B3B

    #151B3B

    oklch(23.6% 0.062 272.8)

  • #002137

    #002137

    oklch(23.8% 0.057 242.4)

  • #241636

    #241636

    oklch(23.6% 0.061 302.1)

Open the analogous palette in the generator

Split complementary

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

  • #151B3B

    #151B3B

    oklch(23.6% 0.062 272.8)

  • #301700

    #301700

    oklch(23.5% 0.054 61.4)

  • #192200

    #192200

    oklch(23.5% 0.058 123)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #151B3B

    #151B3B

    oklch(23.6% 0.062 272.8)

  • #36110A

    #36110A

    oklch(23.6% 0.061 32.6)

  • #00260F

    #00260F

    oklch(23.5% 0.061 152.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #151B3B

    #151B3B

    oklch(23.6% 0.062 272.8)

  • #350F1C

    #350F1C

    oklch(23.6% 0.063 1.9)

  • #261D00

    #261D00

    oklch(23.5% 0.048 92.4)

  • #002520

    #002520

    oklch(23.7% 0.043 181.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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