#22272F

Closest named color: Jet (#212529). oklch(27.1% 0.017 259.8), rgb(34, 39, 47).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.017)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.39:1
White text15.00:1

Values

HEX#22272F
RGBrgb(34, 39, 47)
HSLhsl(217, 16%, 16%)
OKLCHoklch(27.1% 0.017 259.8)

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 #22272F 15.00:1 AAA Lc -104.7 Preferred for body text
Black text on #22272F 1.39:1 Fails Lc 0.0 Not readable
#22272F text on white 15.00:1 AAA Lc 101.9 Preferred for body text
#22272F text on black 1.39: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

    #F4F5F7

    oklch(97% 0.003 264.5)

  2. Step 100

    100

    #E8EAEE

    oklch(93.7% 0.006 264.5)

  3. Step 200

    200

    #D5D9E0

    oklch(88.4% 0.011 261.8)

  4. Step 300

    300

    #B9C1CE

    oklch(80.9% 0.02 260.2)

  5. Step 400

    400

    #95A1B5

    oklch(70.6% 0.032 260.7)

  6. Step 500

    500

    #7B8AA2

    oklch(63% 0.04 259.8)

  7. Step 600

    600

    #64748D

    oklch(55.5% 0.044 259.2)

  8. Step 700

    700

    #536178

    oklch(49% 0.041 260.3)

  9. Step 800

    800

    #445062

    oklch(42.8% 0.034 258.4)

  10. Step 900

    900

    #394250

    oklch(37.7% 0.027 259.2)

  11. Step 950

    950 (this color)

    #22272F

    oklch(27.1% 0.017 259.8)

Export this scale for Tailwind in the Tailwind colors tool

#22272F 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)#24272F0.003
Deuteranopia (no green cones)#23262F0.004
Tritanopia (no blue cones)#1F292A0.015
Achromatopsia (no color)#2727270.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #22272F

    #22272F

    oklch(27.1% 0.017 259.8)

  • #2B261E

    #2B261E

    oklch(27.1% 0.016 79.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #22272F

    #22272F

    oklch(27.1% 0.017 259.8)

  • #1F282D

    #1F282D

    oklch(27% 0.016 232.4)

  • #26252E

    #26252E

    oklch(26.9% 0.017 290.3)

Open the analogous palette in the generator

Split complementary

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

  • #22272F

    #22272F

    oklch(27.1% 0.017 259.8)

  • #2E2420

    #2E2420

    oklch(27.1% 0.017 42.9)

  • #27281E

    #27281E

    oklch(27.2% 0.018 112.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #22272F

    #22272F

    oklch(27.1% 0.017 259.8)

  • #2E2423

    #2E2423

    oklch(27.2% 0.015 24.8)

  • #232921

    #232921

    oklch(27.2% 0.017 137.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #22272F

    #22272F

    oklch(27.1% 0.017 259.8)

  • #2D2428

    #2D2428

    oklch(27.2% 0.015 349.6)

  • #2B261E

    #2B261E

    oklch(27.1% 0.016 79.5)

  • #1F2925

    #1F2925

    oklch(27% 0.016 168.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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