#2D274B

Closest named color: Space Cadet (#2B2D42). oklch(29.8% 0.064 289.6), rgb(45, 39, 75).

Aa

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

About this color

#2D274B is a dark, muted purple. In OKLCH its lightness is 30%, its chroma 0.064 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.028 away. White text reads best on it, at 13.96:1.

Hue familyPurples
Lightnessdark (30%)
Chromamuted (0.064)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.50:1
White text13.96:1

Values

HEX#2D274B
RGBrgb(45, 39, 75)
HSLhsl(250, 32%, 22%)
OKLCHoklch(29.8% 0.064 289.6)

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 #2D274B 13.96:1 AAA Lc -103.6 Preferred for body text
Black text on #2D274B 1.50:1 Fails Lc 0.0 Not readable
#2D274B text on white 13.96:1 AAA Lc 100.5 Preferred for body text
#2D274B 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F8

    oklch(93.6% 0.021 288.9)

  3. Step 200

    200

    #D8D5F4

    oklch(88.5% 0.042 289.9)

  4. Step 300

    300

    #BFB9EF

    oklch(80.9% 0.076 289.7)

  5. Step 400

    400

    #9F93E7

    oklch(70.7% 0.121 289.5)

  6. Step 500

    500

    #8976E0

    oklch(63.1% 0.155 289.4)

  7. Step 600

    600

    #745CCD

    oklch(55.6% 0.168 289.6)

  8. Step 700

    700

    #624BB2

    oklch(49.2% 0.157 289.6)

  9. Step 800

    800

    #503E90

    oklch(42.7% 0.13 289.9)

  10. Step 900

    900

    #423673

    oklch(37.8% 0.101 289.7)

  11. Step 950

    950 (this color)

    #2D274B

    oklch(29.8% 0.064 289.6)

Export this scale for Tailwind in the Tailwind colors tool

#2D274B 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)#1B2D4C0.031
Deuteranopia (no green cones)#1B2B4A0.030
Tritanopia (no blue cones)#252E350.054
Achromatopsia (no color)#2C2C2C0.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D274B

    #2D274B

    oklch(29.8% 0.064 289.6)

  • #303001

    #303001

    oklch(29.9% 0.064 109.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D274B

    #2D274B

    oklch(29.8% 0.064 289.6)

  • #192D4D

    #192D4D

    oklch(29.8% 0.064 259.4)

  • #3B2241

    #3B2241

    oklch(29.8% 0.063 319.7)

Open the analogous palette in the generator

Split complementary

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

  • #2D274B

    #2D274B

    oklch(29.8% 0.064 289.6)

  • #3D2900

    #3D2900

    oklch(29.7% 0.062 80.2)

  • #1B3514

    #1B3514

    oklch(29.9% 0.064 139.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D274B

    #2D274B

    oklch(29.8% 0.064 289.6)

  • #46220C

    #46220C

    oklch(29.7% 0.064 49.5)

  • #003728

    #003728

    oklch(29.9% 0.06 168.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D274B

    #2D274B

    oklch(29.8% 0.064 289.6)

  • #481F20

    #481F20

    oklch(29.8% 0.063 20.1)

  • #303001

    #303001

    oklch(29.9% 0.064 109.7)

  • #003537

    #003537

    oklch(29.9% 0.051 198.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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