#302228

Closest named color: Jet (#212529). oklch(27.1% 0.024 351.3), rgb(48, 34, 40).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.024)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.38:1
White text15.16:1

Values

HEX#302228
RGBrgb(48, 34, 40)
HSLhsl(334, 17%, 16%)
OKLCHoklch(27.1% 0.024 351.3)

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 #302228 15.16:1 AAA Lc -104.8 Preferred for body text
Black text on #302228 1.38:1 Fails Lc 0.0 Not readable
#302228 text on white 15.16:1 AAA Lc 102.0 Preferred for body text
#302228 text on black 1.38: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

    #EEE8EA

    oklch(93.6% 0.007 354.8)

  3. Step 200

    200

    #E2D5DA

    oklch(88.5% 0.016 352)

  4. Step 300

    300

    #D0BAC3

    oklch(81% 0.028 351)

  5. Step 400

    400

    #B896A4

    oklch(70.8% 0.045 351.7)

  6. Step 500

    500

    #A57B8D

    oklch(63% 0.058 351.4)

  7. Step 600

    600

    #906478

    oklch(55.5% 0.063 350.5)

  8. Step 700

    700

    #7B5365

    oklch(49.2% 0.059 350.9)

  9. Step 800

    800

    #644452

    oklch(42.7% 0.049 351.5)

  10. Step 900

    900

    #513944

    oklch(37.6% 0.038 349.9)

  11. Step 950

    950 (this color)

    #302228

    oklch(27.1% 0.024 351.3)

Export this scale for Tailwind in the Tailwind colors tool

#302228 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)#2324280.025
Deuteranopia (no green cones)#2627280.024
Tritanopia (no blue cones)#3222240.008
Achromatopsia (no color)#2626260.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #302228

    #302228

    oklch(27.1% 0.024 351.3)

  • #1B2B25

    #1B2B25

    oklch(27.3% 0.024 169.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #302228

    #302228

    oklch(27.1% 0.024 351.3)

  • #2C232E

    #2C232E

    oklch(27.1% 0.024 320.1)

  • #312222

    #312222

    oklch(27% 0.023 18.7)

Open the analogous palette in the generator

Split complementary

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

  • #302228

    #302228

    oklch(27.1% 0.024 351.3)

  • #202A1F

    #202A1F

    oklch(27.2% 0.024 142.5)

  • #182A2B

    #182A2B

    oklch(27% 0.024 200.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #302228

    #302228

    oklch(27.1% 0.024 351.3)

  • #27281A

    #27281A

    oklch(27.1% 0.025 111.3)

  • #1B2930

    #1B2930

    oklch(27.1% 0.023 230.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #302228

    #302228

    oklch(27.1% 0.024 351.3)

  • #2D2619

    #2D2619

    oklch(27.2% 0.025 82.6)

  • #1B2B25

    #1B2B25

    oklch(27.3% 0.024 169.2)

  • #202732

    #202732

    oklch(27.1% 0.023 259.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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