#2D2970

Closest named color: Midnight Blue (#191970). oklch(33.1% 0.119 280.2), rgb(45, 41, 112).

Aa

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

About this color

#2D2970 is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.119 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Blue (#191970), ΔE 0.053 away. White text reads best on it, at 12.62:1.

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.119)
Temperaturecool
Nearest nameMidnight Blue (#191970)
Black text1.66:1
White text12.62:1

Values

HEX#2D2970
RGBrgb(45, 41, 112)
HSLhsl(243, 46%, 30%)
OKLCHoklch(33.1% 0.119 280.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 #2D2970 12.62:1 AAA Lc -101.7 Preferred for body text
Black text on #2D2970 1.66:1 Fails Lc 0.0 Not readable
#2D2970 text on white 12.62:1 AAA Lc 98.3 Preferred for body text
#2D2970 text on black 1.66: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 900.

  1. Step 50

    50

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E6E8FB

    oklch(93.5% 0.026 281.1)

  3. Step 200

    200

    #D2D6FA

    oklch(88.4% 0.05 280.3)

  4. Step 300

    300

    #B5BBFA

    oklch(81% 0.089 280)

  5. Step 400

    400

    #9095F7

    oklch(70.7% 0.142 279.9)

  6. Step 500

    500

    #7877F3

    oklch(63.2% 0.181 280.2)

  7. Step 600

    600

    #635BE2

    oklch(55.5% 0.198 280.4)

  8. Step 700

    700

    #524AC4

    oklch(49% 0.184 280.1)

  9. Step 800

    800

    #433E9F

    oklch(42.8% 0.152 280.1)

  10. Step 900

    900 (this color)

    #2D2970

    oklch(33.1% 0.119 280.2)

  11. Step 950

    950

    #20204A

    oklch(26.9% 0.076 280)

Export this scale for Tailwind in the Tailwind colors tool

#2D2970 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)#0036720.050
Deuteranopia (no green cones)#00306F0.047
Tritanopia (no blue cones)#083A480.102
Achromatopsia (no color)#3333330.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D2970

    #2D2970

    oklch(33.1% 0.119 280.2)

  • #3E3600

    #3E3600

    oklch(33.1% 0.069 100.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D2970

    #2D2970

    oklch(33.1% 0.119 280.2)

  • #003764

    #003764

    oklch(33.2% 0.095 250.2)

  • #481E62

    #481E62

    oklch(33.1% 0.118 309.9)

Open the analogous palette in the generator

Split complementary

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

  • #2D2970

    #2D2970

    oklch(33.1% 0.119 280.2)

  • #4D2E00

    #4D2E00

    oklch(33.2% 0.072 69.8)

  • #253E00

    #253E00

    oklch(33.1% 0.09 130.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D2970

    #2D2970

    oklch(33.1% 0.119 280.2)

  • #5F1C00

    #5F1C00

    oklch(33.1% 0.104 40)

  • #004128

    #004128

    oklch(33.1% 0.075 160.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D2970

    #2D2970

    oklch(33.1% 0.119 280.2)

  • #640D27

    #640D27

    oklch(33.1% 0.119 10.3)

  • #3E3600

    #3E3600

    oklch(33.1% 0.069 100.1)

  • #003F3C

    #003F3C

    oklch(33.2% 0.057 189.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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