#302E56

Closest named color: Prussian Blue (#1D3557). oklch(32.4% 0.07 284.1), rgb(48, 46, 86).

Aa

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

About this color

#302E56 is a dark, muted purple. In OKLCH its lightness is 32%, its chroma 0.070 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.032 away. White text reads best on it, at 12.72:1.

Hue familyPurples
Lightnessdark (32%)
Chromamuted (0.070)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.65:1
White text12.72:1

Values

HEX#302E56
RGBrgb(48, 46, 86)
HSLhsl(243, 30%, 26%)
OKLCHoklch(32.4% 0.07 284.1)

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 #302E56 12.72:1 AAA Lc -102.1 Preferred for body text
Black text on #302E56 1.65:1 Fails Lc 0.0 Not readable
#302E56 text on white 12.72:1 AAA Lc 98.7 Preferred for body text
#302E56 text on black 1.65: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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E8E9F4

    oklch(93.6% 0.015 281.9)

  3. Step 200

    200

    #D6D7EC

    oklch(88.5% 0.029 283.6)

  4. Step 300

    300

    #BCBDE2

    oklch(81% 0.052 284)

  5. Step 400

    400

    #9A9AD3

    oklch(70.7% 0.083 284.1)

  6. Step 500

    500

    #8280C8

    oklch(63.1% 0.107 284.2)

  7. Step 600

    600

    #6C68B5

    oklch(55.6% 0.117 284.3)

  8. Step 700

    700

    #5A579B

    oklch(49.2% 0.107 283.7)

  9. Step 800

    800

    #4A477E

    oklch(42.7% 0.09 284.4)

  10. Step 900

    900 (this color)

    #302E56

    oklch(32.4% 0.07 284.1)

  11. Step 950

    950

    #24233B

    oklch(26.9% 0.044 284.9)

Export this scale for Tailwind in the Tailwind colors tool

#302E56 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)#2034580.028
Deuteranopia (no green cones)#1E31550.027
Tritanopia (no blue cones)#25363D0.061
Achromatopsia (no color)#3333330.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #302E56

    #302E56

    oklch(32.4% 0.07 284.1)

  • #3A3500

    #3A3500

    oklch(32.4% 0.068 103.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #302E56

    #302E56

    oklch(32.4% 0.07 284.1)

  • #183557

    #183557

    oklch(32.5% 0.07 253.9)

  • #41284D

    #41284D

    oklch(32.5% 0.071 314.1)

Open the analogous palette in the generator

Split complementary

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

  • #302E56

    #302E56

    oklch(32.4% 0.07 284.1)

  • #482E00

    #482E00

    oklch(32.5% 0.068 75.2)

  • #243B14

    #243B14

    oklch(32.3% 0.069 134.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #302E56

    #302E56

    oklch(32.4% 0.07 284.1)

  • #512713

    #512713

    oklch(32.6% 0.07 44.8)

  • #003F2A

    #003F2A

    oklch(32.5% 0.07 163.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #302E56

    #302E56

    oklch(32.4% 0.07 284.1)

  • #522329

    #522329

    oklch(32.5% 0.07 13.9)

  • #3A3500

    #3A3500

    oklch(32.4% 0.068 103.7)

  • #003D3C

    #003D3C

    oklch(32.6% 0.056 192.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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