#282A33

Closest named color: Jet (#212529). oklch(28.7% 0.017 275.4), rgb(40, 42, 51).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (29%)
Chromaclose to neutral grey (0.017)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.46:1
White text14.29:1

Values

HEX#282A33
RGBrgb(40, 42, 51)
HSLhsl(229, 12%, 18%)
OKLCHoklch(28.7% 0.017 275.4)

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 #282A33 14.29:1 AAA Lc -104.0 Preferred for body text
Black text on #282A33 1.46:1 Fails Lc 0.0 Not readable
#282A33 text on white 14.29:1 AAA Lc 101.0 Preferred for body text
#282A33 text on black 1.46: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

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #E9EAEE

    oklch(93.7% 0.005 275)

  3. Step 200

    200

    #D7D9E1

    oklch(88.6% 0.011 274.9)

  4. Step 300

    300

    #BDC0CE

    oklch(81% 0.02 276.3)

  5. Step 400

    400

    #9B9FB5

    oklch(70.7% 0.032 277.4)

  6. Step 500

    500

    #8288A2

    oklch(63.1% 0.04 275)

  7. Step 600

    600

    #6C728E

    oklch(55.7% 0.044 275.4)

  8. Step 700

    700

    #5A5F78

    oklch(49.1% 0.041 276)

  9. Step 800

    800

    #494E62

    oklch(42.7% 0.034 273.9)

  10. Step 900

    900

    #3D4150

    oklch(37.8% 0.026 273.4)

  11. Step 950

    950 (this color)

    #282A33

    oklch(28.7% 0.017 275.4)

Export this scale for Tailwind in the Tailwind colors tool

#282A33 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)#282B330.003
Deuteranopia (no green cones)#272A330.002
Tritanopia (no blue cones)#262C2D0.015
Achromatopsia (no color)#2A2A2A0.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #282A33

    #282A33

    oklch(28.7% 0.017 275.4)

  • #2D2B21

    #2D2B21

    oklch(28.8% 0.018 98)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282A33

    #282A33

    oklch(28.7% 0.017 275.4)

  • #242C32

    #242C32

    oklch(28.8% 0.016 240.5)

  • #2C2931

    #2C2931

    oklch(28.7% 0.015 302.5)

Open the analogous palette in the generator

Split complementary

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

  • #282A33

    #282A33

    oklch(28.7% 0.017 275.4)

  • #302922

    #302922

    oklch(28.6% 0.016 67.1)

  • #282C23

    #282C23

    oklch(28.6% 0.017 127)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282A33

    #282A33

    oklch(28.7% 0.017 275.4)

  • #322825

    #322825

    oklch(28.7% 0.016 37.3)

  • #242D27

    #242D27

    oklch(28.6% 0.017 156)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282A33

    #282A33

    oklch(28.7% 0.017 275.4)

  • #322729

    #322729

    oklch(28.6% 0.017 5.9)

  • #2D2B21

    #2D2B21

    oklch(28.8% 0.018 98)

  • #212D2C

    #212D2C

    oklch(28.6% 0.016 190)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #282A33 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.