#182828

Closest named color: Jet (#212529). oklch(26.3% 0.021 195.9), rgb(24, 40, 40).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (26%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.37:1
White text15.29:1

Values

HEX#182828
RGBrgb(24, 40, 40)
HSLhsl(180, 25%, 13%)
OKLCHoklch(26.3% 0.021 195.9)

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 #182828 15.29:1 AAA Lc -104.9 Preferred for body text
Black text on #182828 1.37:1 Fails Lc 0.0 Not readable
#182828 text on white 15.29:1 AAA Lc 102.2 Preferred for body text
#182828 text on black 1.37: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

    #F3F6F6

    oklch(97.1% 0.003 197.1)

  2. Step 100

    100

    #E5EBEB

    oklch(93.6% 0.006 197)

  3. Step 200

    200

    #CFDCDC

    oklch(88.5% 0.014 196.9)

  4. Step 300

    300

    #AFC6C6

    oklch(80.9% 0.025 196.7)

  5. Step 400

    400

    #84A9A9

    oklch(70.8% 0.04 196.3)

  6. Step 500

    500

    #639494

    oklch(63.2% 0.053 195.9)

  7. Step 600

    600

    #497E7E

    oklch(55.6% 0.057 195.6)

  8. Step 700

    700

    #3A6A6A

    oklch(49% 0.052 195.6)

  9. Step 800

    800

    #305757

    oklch(42.8% 0.044 195.6)

  10. Step 900

    900

    #2B4747

    oklch(37.6% 0.034 195.8)

  11. Step 950

    950 (this color)

    #182828

    oklch(26.3% 0.021 195.9)

Export this scale for Tailwind in the Tailwind colors tool

#182828 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)#2627280.022
Deuteranopia (no green cones)#2324280.021
Tritanopia (no blue cones)#1229280.008
Achromatopsia (no color)#2525250.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #182828

    #182828

    oklch(26.3% 0.021 195.9)

  • #2E2121

    #2E2121

    oklch(26.3% 0.02 18.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #182828

    #182828

    oklch(26.3% 0.021 195.9)

  • #1B2822

    #1B2822

    oklch(26.3% 0.021 164.7)

  • #19272D

    #19272D

    oklch(26.3% 0.022 226.4)

Open the analogous palette in the generator

Split complementary

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

  • #182828

    #182828

    oklch(26.3% 0.021 195.9)

  • #2D2127

    #2D2127

    oklch(26.4% 0.021 347.1)

  • #2E221C

    #2E221C

    oklch(26.4% 0.022 47.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #182828

    #182828

    oklch(26.3% 0.021 195.9)

  • #29222C

    #29222C

    oklch(26.4% 0.021 315.7)

  • #2B2319

    #2B2319

    oklch(26.2% 0.021 72.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #182828

    #182828

    oklch(26.3% 0.021 195.9)

  • #24232F

    #24232F

    oklch(26.3% 0.022 288.6)

  • #2E2121

    #2E2121

    oklch(26.3% 0.02 18.5)

  • #262519

    #262519

    oklch(26.2% 0.021 103.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #182828 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.