#151E27

Closest named color: Rich Black (#0D1B2A). oklch(23.1% 0.022 248.8), rgb(21, 30, 39).

Aa

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

About this color

#151E27 is a very dark close to neutral grey. In OKLCH its lightness is 23%, its chroma 0.022. It has too little chroma to lean warm or cool. The nearest named color is Rich Black (#0D1B2A), ΔE 0.019 away. White text reads best on it, at 16.84:1.

Hue familyNeutrals
Lightnessvery dark (23%)
Chromaclose to neutral grey (0.022)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.24:1
White text16.84:1

Values

HEX#151E27
RGBrgb(21, 30, 39)
HSLhsl(210, 30%, 12%)
OKLCHoklch(23.1% 0.022 248.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 #151E27 16.84:1 AAA Lc -106.1 Preferred for body text
Black text on #151E27 1.24:1 Fails Lc 0.0 Not readable
#151E27 text on white 16.84:1 AAA Lc 103.8 Preferred for body text
#151E27 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

    #F4F6F8

    oklch(97.2% 0.003 247.9)

  2. Step 100

    100

    #E6EAEF

    oklch(93.5% 0.008 253.9)

  3. Step 200

    200

    #D2DAE2

    oklch(88.5% 0.014 248)

  4. Step 300

    300

    #B4C2D1

    oklch(80.8% 0.026 250)

  5. Step 400

    400

    #8DA3BA

    oklch(70.6% 0.042 249.6)

  6. Step 500

    500

    #718DA9

    oklch(63.2% 0.053 248.7)

  7. Step 600

    600

    #597694

    oklch(55.5% 0.058 249.8)

  8. Step 700

    700

    #49637E

    oklch(49% 0.054 249.9)

  9. Step 800

    800

    #3C5166

    oklch(42.6% 0.044 248.9)

  10. Step 900

    900

    #334353

    oklch(37.6% 0.034 248.8)

  11. Step 950

    950 (this color)

    #151E27

    oklch(23.1% 0.022 248.8)

Export this scale for Tailwind in the Tailwind colors tool

#151E27 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)#1B1E270.010
Deuteranopia (no green cones)#181C270.008
Tritanopia (no blue cones)#0F20210.018
Achromatopsia (no color)#1D1D1D0.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #151E27

    #151E27

    oklch(23.1% 0.022 248.8)

  • #241B12

    #241B12

    oklch(23% 0.022 66.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #151E27

    #151E27

    oklch(23.1% 0.022 248.8)

  • #112024

    #112024

    oklch(23.2% 0.022 216.5)

  • #1B1C27

    #1B1C27

    oklch(23.1% 0.021 280.5)

Open the analogous palette in the generator

Split complementary

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

  • #151E27

    #151E27

    oklch(23.1% 0.022 248.8)

  • #261A15

    #261A15

    oklch(23.1% 0.021 43.7)

  • #201D11

    #201D11

    oklch(23% 0.022 95.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #151E27

    #151E27

    oklch(23.1% 0.022 248.8)

  • #26191B

    #26191B

    oklch(23.1% 0.021 8.6)

  • #1A1F14

    #1A1F14

    oklch(23% 0.022 127.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #151E27

    #151E27

    oklch(23.1% 0.022 248.8)

  • #241920

    #241920

    oklch(23% 0.021 340.5)

  • #241B12

    #241B12

    oklch(23% 0.022 66.4)

  • #142019

    #142019

    oklch(23% 0.022 158.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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