#302D5C

Closest named color: Prussian Blue (#1D3557). oklch(32.6% 0.081 283.8), rgb(48, 45, 92).

Aa

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

About this color

#302D5C is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.081 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.037 away. White text reads best on it, at 12.68:1.

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.65:1
White text12.68:1

Values

HEX#302D5C
RGBrgb(48, 45, 92)
HSLhsl(244, 34%, 27%)
OKLCHoklch(32.6% 0.081 283.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 #302D5C 12.68:1 AAA Lc -102.0 Preferred for body text
Black text on #302D5C 1.65:1 Fails Lc 0.0 Not readable
#302D5C text on white 12.68:1 AAA Lc 98.6 Preferred for body text
#302D5C 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E9F6

    oklch(93.7% 0.018 282.5)

  3. Step 200

    200

    #D6D7EF

    oklch(88.6% 0.033 283.8)

  4. Step 300

    300

    #BBBCE7

    oklch(80.9% 0.06 283.9)

  5. Step 400

    400

    #9998DC

    oklch(70.7% 0.099 284.3)

  6. Step 500

    500

    #817ED2

    oklch(63.2% 0.124 283.9)

  7. Step 600

    600

    #6B66BF

    oklch(55.7% 0.135 283.7)

  8. Step 700

    700

    #5954A5

    oklch(49.1% 0.126 283.5)

  9. Step 800

    800

    #494585

    oklch(42.7% 0.104 283.9)

  10. Step 900

    900 (this color)

    #302D5C

    oklch(32.6% 0.081 283.8)

  11. Step 950

    950

    #23233F

    oklch(27.1% 0.051 282.4)

Export this scale for Tailwind in the Tailwind colors tool

#302D5C 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)#1A345E0.034
Deuteranopia (no green cones)#18315B0.034
Tritanopia (no blue cones)#2237400.069
Achromatopsia (no color)#3333330.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #302D5C

    #302D5C

    oklch(32.6% 0.081 283.8)

  • #3B3600

    #3B3600

    oklch(32.8% 0.069 103.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #302D5C

    #302D5C

    oklch(32.6% 0.081 283.8)

  • #12355D

    #12355D

    oklch(32.7% 0.082 254)

  • #432651

    #432651

    oklch(32.6% 0.081 313.8)

Open the analogous palette in the generator

Split complementary

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

  • #302D5C

    #302D5C

    oklch(32.6% 0.081 283.8)

  • #492E00

    #492E00

    oklch(32.6% 0.069 74.1)

  • #223D0B

    #223D0B

    oklch(32.6% 0.082 133.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #302D5C

    #302D5C

    oklch(32.6% 0.081 283.8)

  • #55240C

    #55240C

    oklch(32.6% 0.081 44.1)

  • #003F2A

    #003F2A

    oklch(32.5% 0.07 163.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #302D5C

    #302D5C

    oklch(32.6% 0.081 283.8)

  • #562028

    #562028

    oklch(32.6% 0.08 13.6)

  • #3B3600

    #3B3600

    oklch(32.8% 0.069 103.8)

  • #003D3D

    #003D3D

    oklch(32.6% 0.056 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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