#2D273B

Closest named color: Space Cadet (#2B2D42). oklch(28.8% 0.037 297.8), rgb(45, 39, 59).

Aa

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

About this color

#2D273B is a dark, muted purple. In OKLCH its lightness is 29%, its chroma 0.037 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.020 away. White text reads best on it, at 14.33:1.

Hue familyPurples
Lightnessdark (29%)
Chromamuted (0.037)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.46:1
White text14.33:1

Values

HEX#2D273B
RGBrgb(45, 39, 59)
HSLhsl(258, 20%, 19%)
OKLCHoklch(28.8% 0.037 297.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 #2D273B 14.33:1 AAA Lc -104.0 Preferred for body text
Black text on #2D273B 1.46:1 Fails Lc 0.0 Not readable
#2D273B text on white 14.33:1 AAA Lc 101.1 Preferred for body text
#2D273B text on black 1.46: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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EBE8F1

    oklch(93.6% 0.012 301.3)

  3. Step 200

    200

    #DBD6E7

    oklch(88.5% 0.024 299.3)

  4. Step 300

    300

    #C3BBDA

    oklch(80.8% 0.044 297.2)

  5. Step 400

    400

    #A598C7

    oklch(70.7% 0.069 297.3)

  6. Step 500

    500

    #907EB9

    oklch(63.2% 0.089 297.8)

  7. Step 600

    600

    #7A66A5

    oklch(55.6% 0.098 297.8)

  8. Step 700

    700

    #67558D

    oklch(49.1% 0.09 297.8)

  9. Step 800

    800

    #544673

    oklch(42.8% 0.074 297.5)

  10. Step 900

    900

    #453B5D

    oklch(37.8% 0.058 297.1)

  11. Step 950

    950 (this color)

    #2D273B

    oklch(28.8% 0.037 297.8)

Export this scale for Tailwind in the Tailwind colors tool

#2D273B 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)#222A3C0.020
Deuteranopia (no green cones)#232A3A0.020
Tritanopia (no blue cones)#2A2A2E0.030
Achromatopsia (no color)#2A2A2A0.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D273B

    #2D273B

    oklch(28.8% 0.037 297.8)

  • #292D18

    #292D18

    oklch(28.7% 0.036 117.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D273B

    #2D273B

    oklch(28.8% 0.037 297.8)

  • #232A3D

    #232A3D

    oklch(28.7% 0.036 268.5)

  • #352434

    #352434

    oklch(28.7% 0.037 328.5)

Open the analogous palette in the generator

Split complementary

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

  • #2D273B

    #2D273B

    oklch(28.8% 0.037 297.8)

  • #332A15

    #332A15

    oklch(28.9% 0.037 86.9)

  • #1E3020

    #1E3020

    oklch(28.8% 0.037 147.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D273B

    #2D273B

    oklch(28.8% 0.037 297.8)

  • #392618

    #392618

    oklch(28.8% 0.037 57)

  • #14312B

    #14312B

    oklch(28.9% 0.037 178.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D273B

    #2D273B

    oklch(28.8% 0.037 297.8)

  • #3B2421

    #3B2421

    oklch(28.8% 0.036 27.7)

  • #292D18

    #292D18

    oklch(28.7% 0.036 117.5)

  • #123034

    #123034

    oklch(28.8% 0.036 207)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2D273B 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.