#152B27

Closest named color: Jet (#212529). oklch(26.9% 0.029 181), rgb(21, 43, 39).

Aa

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

About this color

#152B27 is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.028 away. White text reads best on it, at 14.92:1.

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.40:1
White text14.92:1

Values

HEX#152B27
RGBrgb(21, 43, 39)
HSLhsl(169, 34%, 13%)
OKLCHoklch(26.9% 0.029 181)

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 #152B27 14.92:1 AAA Lc -104.5 Preferred for body text
Black text on #152B27 1.40:1 Fails Lc 0.0 Not readable
#152B27 text on white 14.92:1 AAA Lc 101.7 Preferred for body text
#152B27 text on black 1.40: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

    #F2F6F5

    oklch(97% 0.004 179.7)

  2. Step 100

    100

    #E3ECEA

    oklch(93.6% 0.01 181.4)

  3. Step 200

    200

    #CCDDDA

    oklch(88.4% 0.019 184.2)

  4. Step 300

    300

    #A9C8C2

    oklch(80.8% 0.034 182.4)

  5. Step 400

    400

    #7AACA2

    oklch(70.6% 0.055 180.8)

  6. Step 500

    500

    #55988C

    oklch(63.2% 0.071 181)

  7. Step 600

    600

    #378276

    oklch(55.6% 0.077 181.3)

  8. Step 700

    700

    #286E63

    oklch(49.1% 0.072 181.1)

  9. Step 800

    800

    #235A51

    oklch(42.8% 0.06 180.9)

  10. Step 900

    900

    #234A43

    oklch(37.8% 0.046 180.6)

  11. Step 950

    950 (this color)

    #152B27

    oklch(26.9% 0.029 181)

Export this scale for Tailwind in the Tailwind colors tool

#152B27 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)#2929270.030
Deuteranopia (no green cones)#2526270.028
Tritanopia (no blue cones)#0D2C2A0.009
Achromatopsia (no color)#2727270.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #152B27

    #152B27

    oklch(26.9% 0.029 181)

  • #322025

    #322025

    oklch(26.8% 0.029 1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #152B27

    #152B27

    oklch(26.9% 0.029 181)

  • #1C2A1F

    #1C2A1F

    oklch(26.8% 0.028 150.8)

  • #142A2E

    #142A2E

    oklch(26.9% 0.029 210.5)

Open the analogous palette in the generator

Split complementary

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

  • #152B27

    #152B27

    oklch(26.9% 0.029 181)

  • #2F212D

    #2F212D

    oklch(27% 0.03 331.3)

  • #33211E

    #33211E

    oklch(26.9% 0.029 29.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #152B27

    #152B27

    oklch(26.9% 0.029 181)

  • #292332

    #292332

    oklch(27% 0.029 302.8)

  • #312317

    #312317

    oklch(26.9% 0.03 61.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #152B27

    #152B27

    oklch(26.9% 0.029 181)

  • #212635

    #212635

    oklch(27.1% 0.029 270.1)

  • #322025

    #322025

    oklch(26.8% 0.029 1)

  • #2C2615

    #2C2615

    oklch(27% 0.03 90.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #152B27 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.