#28191F

Closest named color: Jet (#212529). oklch(23.5% 0.026 353.6), rgb(40, 25, 31).

Aa

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

About this color

#28191F is a very dark close to neutral grey. In OKLCH its lightness is 24%, its chroma 0.026. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.040 away. White text reads best on it, at 16.81:1.

Hue familyNeutrals
Lightnessvery dark (24%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.24:1
White text16.81:1

Values

HEX#28191F
RGBrgb(40, 25, 31)
HSLhsl(336, 23%, 13%)
OKLCHoklch(23.5% 0.026 353.6)

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

    #F8F4F6

    oklch(97.1% 0.005 345.3)

  2. Step 100

    100

    #EFE7EA

    oklch(93.5% 0.01 352.4)

  3. Step 200

    200

    #E3D5DA

    oklch(88.6% 0.017 353.7)

  4. Step 300

    300

    #D2B9C2

    oklch(81% 0.031 354)

  5. Step 400

    400

    #BA94A3

    oklch(70.6% 0.05 352.8)

  6. Step 500

    500

    #A87A8C

    oklch(63.1% 0.062 353.8)

  7. Step 600

    600

    #936376

    oklch(55.6% 0.067 354.1)

  8. Step 700

    700

    #7D5163

    oklch(49% 0.064 353.5)

  9. Step 800

    800

    #664351

    oklch(42.7% 0.052 353.9)

  10. Step 900

    900

    #533943

    oklch(37.8% 0.04 354.4)

  11. Step 950

    950 (this color)

    #28191F

    oklch(23.5% 0.026 353.6)

Export this scale for Tailwind in the Tailwind colors tool

#28191F 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)#1B1C1F0.027
Deuteranopia (no green cones)#1E1E1F0.025
Tritanopia (no blue cones)#2A181B0.008
Achromatopsia (no color)#1D1D1D0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #28191F

    #28191F

    oklch(23.5% 0.026 353.6)

  • #10221D

    #10221D

    oklch(23.4% 0.026 174.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28191F

    #28191F

    oklch(23.5% 0.026 353.6)

  • #241A25

    #241A25

    oklch(23.5% 0.025 323.4)

  • #291918

    #291918

    oklch(23.4% 0.026 23.2)

Open the analogous palette in the generator

Split complementary

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

  • #28191F

    #28191F

    oklch(23.5% 0.026 353.6)

  • #172116

    #172116

    oklch(23.4% 0.025 142.4)

  • #0E2224

    #0E2224

    oklch(23.6% 0.026 204)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28191F

    #28191F

    oklch(23.5% 0.026 353.6)

  • #1E2011

    #1E2011

    oklch(23.7% 0.027 114.7)

  • #112029

    #112029

    oklch(23.5% 0.027 235.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28191F

    #28191F

    oklch(23.5% 0.026 353.6)

  • #241D10

    #241D10

    oklch(23.5% 0.025 82.4)

  • #10221D

    #10221D

    oklch(23.4% 0.026 174.2)

  • #181E2B

    #181E2B

    oklch(23.5% 0.027 265.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #28191F 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.