#302E4B

Closest named color: Space Cadet (#2B2D42). oklch(31.7% 0.051 286.2), rgb(48, 46, 75).

Aa

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

About this color

#302E4B is a dark, muted purple. In OKLCH its lightness is 32%, its chroma 0.051 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.019 away. White text reads best on it, at 12.97:1.

Hue familyPurples
Lightnessdark (32%)
Chromamuted (0.051)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.61:1
White text12.97:1

Values

HEX#302E4B
RGBrgb(48, 46, 75)
HSLhsl(244, 24%, 24%)
OKLCHoklch(31.7% 0.051 286.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 #302E4B 12.97:1 AAA Lc -102.4 Preferred for body text
Black text on #302E4B 1.61:1 Fails Lc 0.0 Not readable
#302E4B text on white 12.97:1 AAA Lc 99.2 Preferred for body text
#302E4B text on black 1.61: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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E8E8F5

    oklch(93.5% 0.017 286.1)

  3. Step 200

    200

    #D7D6EF

    oklch(88.5% 0.034 287.5)

  4. Step 300

    300

    #BDBBE7

    oklch(80.8% 0.062 287)

  5. Step 400

    400

    #9B98DB

    oklch(70.8% 0.097 285.7)

  6. Step 500

    500

    #847DD1

    oklch(63.2% 0.124 286.1)

  7. Step 600

    600

    #6E64BE

    oklch(55.5% 0.136 286.2)

  8. Step 700

    700

    #5C53A4

    oklch(49.1% 0.126 285.8)

  9. Step 800

    800

    #4B4484

    oklch(42.6% 0.103 286.1)

  10. Step 900

    900

    #3F3A6A

    oklch(37.7% 0.08 286.6)

  11. Step 950

    950 (this color)

    #302E4B

    oklch(31.7% 0.051 286.2)

Export this scale for Tailwind in the Tailwind colors tool

#302E4B 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)#25324C0.020
Deuteranopia (no green cones)#25304A0.018
Tritanopia (no blue cones)#2933390.043
Achromatopsia (no color)#3131310.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #302E4B

    #302E4B

    oklch(31.7% 0.051 286.2)

  • #353412

    #353412

    oklch(31.8% 0.052 107.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #302E4B

    #302E4B

    oklch(31.7% 0.051 286.2)

  • #20334C

    #20334C

    oklch(31.7% 0.051 255.7)

  • #3C2A44

    #3C2A44

    oklch(31.7% 0.051 315.1)

Open the analogous palette in the generator

Split complementary

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

  • #302E4B

    #302E4B

    oklch(31.7% 0.051 286.2)

  • #412E11

    #412E11

    oklch(31.7% 0.051 75.5)

  • #26381D

    #26381D

    oklch(31.7% 0.051 135.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #302E4B

    #302E4B

    oklch(31.7% 0.051 286.2)

  • #48291B

    #48291B

    oklch(31.7% 0.052 44.7)

  • #133A2C

    #133A2C

    oklch(31.6% 0.051 166.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #302E4B

    #302E4B

    oklch(31.7% 0.051 286.2)

  • #492729

    #492729

    oklch(31.8% 0.051 16.6)

  • #353412

    #353412

    oklch(31.8% 0.052 107.5)

  • #053A3B

    #053A3B

    oklch(31.7% 0.051 196.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #302E4B 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.