#282918

Closest named color: Jet (#212529). oklch(27.5% 0.029 111), rgb(40, 41, 24).

Aa

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

About this color

#282918 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.039 away. White text reads best on it, at 14.78:1.

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

Values

HEX#282918
RGBrgb(40, 41, 24)
HSLhsl(64, 26%, 13%)
OKLCHoklch(27.5% 0.029 111)

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 #282918 14.78:1 AAA Lc -104.5 Preferred for body text
Black text on #282918 1.42:1 Fails Lc 0.0 Not readable
#282918 text on white 14.78:1 AAA Lc 101.6 Preferred for body text
#282918 text on black 1.42: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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #EAEBE3

    oklch(93.7% 0.011 112.4)

  3. Step 200

    200

    #D9DBCC

    oklch(88.6% 0.02 113)

  4. Step 300

    300

    #C1C3AA

    oklch(80.9% 0.034 110.9)

  5. Step 400

    400

    #A2A47C

    oklch(70.7% 0.055 110.1)

  6. Step 500

    500

    #8B8E5B

    oklch(63.2% 0.071 111.1)

  7. Step 600

    600

    #757840

    oklch(55.7% 0.078 111.4)

  8. Step 700

    700

    #626532

    oklch(49.2% 0.072 111.8)

  9. Step 800

    800

    #50522A

    oklch(42.7% 0.059 111.2)

  10. Step 900

    900

    #424426

    oklch(37.7% 0.047 111.7)

  11. Step 950

    950 (this color)

    #282918

    oklch(27.5% 0.029 111)

Export this scale for Tailwind in the Tailwind colors tool

#282918 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)#2C28170.008
Deuteranopia (no green cones)#2C28190.009
Tritanopia (no blue cones)#2A27250.026
Achromatopsia (no color)#2828280.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #282918

    #282918

    oklch(27.5% 0.029 111)

  • #272535

    #272535

    oklch(27.4% 0.029 290)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282918

    #282918

    oklch(27.5% 0.029 111)

  • #2F2617

    #2F2617

    oklch(27.4% 0.029 79.9)

  • #202B1E

    #202B1E

    oklch(27.4% 0.028 140.7)

Open the analogous palette in the generator

Split complementary

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

  • #282918

    #282918

    oklch(27.5% 0.029 111)

  • #1F2836

    #1F2836

    oklch(27.5% 0.029 259.1)

  • #2E2330

    #2E2330

    oklch(27.4% 0.028 321.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282918

    #282918

    oklch(27.5% 0.029 111)

  • #182A33

    #182A33

    oklch(27.4% 0.029 230.9)

  • #332229

    #332229

    oklch(27.5% 0.028 352.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282918

    #282918

    oklch(27.5% 0.029 111)

  • #152C2D

    #152C2D

    oklch(27.5% 0.029 199.2)

  • #272535

    #272535

    oklch(27.4% 0.029 290)

  • #352221

    #352221

    oklch(27.5% 0.03 22.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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