#272A36

Closest named color: Space Cadet (#2B2D42). oklch(28.7% 0.022 273.9), rgb(39, 42, 54).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (29%)
Chromaclose to neutral grey (0.022)
Temperatureneutral
Nearest nameSpace Cadet (#2B2D42)
Black text1.47:1
White text14.27:1

Values

HEX#272A36
RGBrgb(39, 42, 54)
HSLhsl(228, 16%, 18%)
OKLCHoklch(28.7% 0.022 273.9)

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 #272A36 14.27:1 AAA Lc -104.0 Preferred for body text
Black text on #272A36 1.47:1 Fails Lc 0.0 Not readable
#272A36 text on white 14.27:1 AAA Lc 101.0 Preferred for body text
#272A36 text on black 1.47: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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E8EAEF

    oklch(93.7% 0.007 268.5)

  3. Step 200

    200

    #D6D9E3

    oklch(88.6% 0.014 272.7)

  4. Step 300

    300

    #BBC0D2

    oklch(80.9% 0.026 273.4)

  5. Step 400

    400

    #989FBC

    oklch(70.7% 0.043 274.6)

  6. Step 500

    500

    #7F88AB

    oklch(63.2% 0.054 273.5)

  7. Step 600

    600

    #687196

    oklch(55.5% 0.059 273.8)

  8. Step 700

    700

    #575F80

    oklch(49.2% 0.054 273.7)

  9. Step 800

    800

    #474D68

    oklch(42.6% 0.046 274.6)

  10. Step 900

    900

    #3B4055

    oklch(37.6% 0.037 274.1)

  11. Step 950

    950 (this color)

    #272A36

    oklch(28.7% 0.022 273.9)

Export this scale for Tailwind in the Tailwind colors tool

#272A36 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)#272B370.003
Deuteranopia (no green cones)#262A360.002
Tritanopia (no blue cones)#232C2E0.020
Achromatopsia (no color)#2A2A2A0.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #272A36

    #272A36

    oklch(28.7% 0.022 273.9)

  • #2E2B1E

    #2E2B1E

    oklch(28.8% 0.023 96.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #272A36

    #272A36

    oklch(28.7% 0.022 273.9)

  • #212C35

    #212C35

    oklch(28.7% 0.022 243.3)

  • #2D2834

    #2D2834

    oklch(28.7% 0.023 304)

Open the analogous palette in the generator

Split complementary

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

  • #272A36

    #272A36

    oklch(28.7% 0.022 273.9)

  • #33281F

    #33281F

    oklch(28.7% 0.023 61)

  • #282D20

    #282D20

    oklch(28.8% 0.024 125)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #272A36

    #272A36

    oklch(28.7% 0.022 273.9)

  • #352723

    #352723

    oklch(28.8% 0.022 36.5)

  • #222E26

    #222E26

    oklch(28.7% 0.022 155.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #272A36

    #272A36

    oklch(28.7% 0.022 273.9)

  • #352629

    #352629

    oklch(28.7% 0.023 5.3)

  • #2E2B1E

    #2E2B1E

    oklch(28.8% 0.023 96.6)

  • #1E2E2C

    #1E2E2C

    oklch(28.6% 0.022 186.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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