#272B40

Closest named color: Space Cadet (#2B2D42). oklch(29.5% 0.039 275.5), rgb(39, 43, 64).

Aa

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

About this color

#272B40 is a dark, muted blue. In OKLCH its lightness is 30%, its chroma 0.039 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.010 away. White text reads best on it, at 13.94:1.

Hue familyBlues
Lightnessdark (30%)
Chromamuted (0.039)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.50:1
White text13.94:1

Values

HEX#272B40
RGBrgb(39, 43, 64)
HSLhsl(230, 24%, 20%)
OKLCHoklch(29.5% 0.039 275.5)

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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E7E9F3

    oklch(93.5% 0.014 277.1)

  3. Step 200

    200

    #D4D8EA

    oklch(88.5% 0.025 275.9)

  4. Step 300

    300

    #B8BFDF

    oklch(81% 0.046 275.6)

  5. Step 400

    400

    #939DCF

    oklch(70.6% 0.074 275.6)

  6. Step 500

    500

    #7985C2

    oklch(63.2% 0.093 274.9)

  7. Step 600

    600

    #636DAF

    oklch(55.6% 0.103 276)

  8. Step 700

    700

    #525B96

    oklch(49.1% 0.095 275.8)

  9. Step 800

    800

    #434B7A

    oklch(42.8% 0.079 275.2)

  10. Step 900

    900

    #383F62

    oklch(37.8% 0.061 274.5)

  11. Step 950

    950 (this color)

    #272B40

    oklch(29.5% 0.039 275.5)

Export this scale for Tailwind in the Tailwind colors tool

#272B40 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)#242D410.007
Deuteranopia (no green cones)#232B3F0.007
Tritanopia (no blue cones)#202F320.035
Achromatopsia (no color)#2C2C2C0.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #272B40

    #272B40

    oklch(29.5% 0.039 275.5)

  • #322C15

    #322C15

    oklch(29.3% 0.038 95.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #272B40

    #272B40

    oklch(29.5% 0.039 275.5)

  • #1C2F3F

    #1C2F3F

    oklch(29.7% 0.038 245)

  • #31283C

    #31283C

    oklch(29.6% 0.038 304.8)

Open the analogous palette in the generator

Split complementary

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

  • #272B40

    #272B40

    oklch(29.5% 0.039 275.5)

  • #3A2917

    #3A2917

    oklch(29.6% 0.039 67)

  • #28301A

    #28301A

    oklch(29.5% 0.039 125)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #272B40

    #272B40

    oklch(29.5% 0.039 275.5)

  • #3E261F

    #3E261F

    oklch(29.7% 0.039 37)

  • #1C3224

    #1C3224

    oklch(29.4% 0.038 155.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #272B40

    #272B40

    oklch(29.5% 0.039 275.5)

  • #3D242A

    #3D242A

    oklch(29.4% 0.039 4.1)

  • #322C15

    #322C15

    oklch(29.3% 0.038 95.2)

  • #12332F

    #12332F

    oklch(29.5% 0.039 184.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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