#272C38

Closest named color: Space Cadet (#2B2D42). oklch(29.3% 0.023 267.2), rgb(39, 44, 56).

Aa

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

About this color

#272C38 is a dark close to neutral grey. In OKLCH its lightness is 29%, its chroma 0.023. It has too little chroma to lean warm or cool. The nearest named color is Space Cadet (#2B2D42), ΔE 0.020 away. White text reads best on it, at 13.96:1.

Hue familyNeutrals
Lightnessdark (29%)
Chromaclose to neutral grey (0.023)
Temperatureneutral
Nearest nameSpace Cadet (#2B2D42)
Black text1.50:1
White text13.96:1

Values

HEX#272C38
RGBrgb(39, 44, 56)
HSLhsl(222, 18%, 19%)
OKLCHoklch(29.3% 0.023 267.2)

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 #272C38 13.96:1 AAA Lc -103.6 Preferred for body text
Black text on #272C38 1.50:1 Fails Lc 0.0 Not readable
#272C38 text on white 13.96:1 AAA Lc 100.6 Preferred for body text
#272C38 text on black 1.50: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

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E7EAEF

    oklch(93.6% 0.007 260.7)

  3. Step 200

    200

    #D5D9E4

    oklch(88.5% 0.016 270)

  4. Step 300

    300

    #B9C1D3

    oklch(81% 0.027 266.6)

  5. Step 400

    400

    #94A0BD

    oklch(70.6% 0.045 267.5)

  6. Step 500

    500

    #7A89AC

    oklch(63.1% 0.056 266.7)

  7. Step 600

    600

    #637398

    oklch(55.7% 0.061 266.3)

  8. Step 700

    700

    #526081

    oklch(49.1% 0.056 266.6)

  9. Step 800

    800

    #434E69

    oklch(42.6% 0.047 267.2)

  10. Step 900

    900

    #394155

    oklch(37.6% 0.036 267.7)

  11. Step 950

    950 (this color)

    #272C38

    oklch(29.3% 0.023 267.2)

Export this scale for Tailwind in the Tailwind colors tool

#272C38 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)#282D390.004
Deuteranopia (no green cones)#272B380.003
Tritanopia (no blue cones)#232E300.020
Achromatopsia (no color)#2C2C2C0.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #272C38

    #272C38

    oklch(29.3% 0.023 267.2)

  • #312C1F

    #312C1F

    oklch(29.4% 0.023 89.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #272C38

    #272C38

    oklch(29.3% 0.023 267.2)

  • #212E36

    #212E36

    oklch(29.3% 0.023 235.6)

  • #2D2A36

    #2D2A36

    oklch(29.3% 0.022 296.5)

Open the analogous palette in the generator

Split complementary

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

  • #272C38

    #272C38

    oklch(29.3% 0.023 267.2)

  • #352921

    #352921

    oklch(29.2% 0.023 55.3)

  • #2B2E21

    #2B2E21

    oklch(29.4% 0.023 118.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #272C38

    #272C38

    oklch(29.3% 0.023 267.2)

  • #372826

    #372826

    oklch(29.4% 0.023 27.2)

  • #252F26

    #252F26

    oklch(29.3% 0.021 147.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #272C38

    #272C38

    oklch(29.3% 0.023 267.2)

  • #36282C

    #36282C

    oklch(29.5% 0.022 359.6)

  • #312C1F

    #312C1F

    oklch(29.4% 0.023 89.5)

  • #20302C

    #20302C

    oklch(29.4% 0.023 177.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #272C38 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.