#302D62

Closest named color: Prussian Blue (#1D3557). oklch(33% 0.091 282.8), rgb(48, 45, 98).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.091)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.67:1
White text12.51:1

Values

HEX#302D62
RGBrgb(48, 45, 98)
HSLhsl(243, 37%, 28%)
OKLCHoklch(33% 0.091 282.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 #302D62 12.51:1 AAA Lc -101.7 Preferred for body text
Black text on #302D62 1.67:1 Fails Lc 0.0 Not readable
#302D62 text on white 12.51:1 AAA Lc 98.3 Preferred for body text
#302D62 text on black 1.67: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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E7E8F7

    oklch(93.5% 0.02 282.9)

  3. Step 200

    200

    #D5D7F2

    oklch(88.6% 0.037 282.2)

  4. Step 300

    300

    #BABCEC

    oklch(81% 0.068 282.9)

  5. Step 400

    400

    #9798E3

    oklch(70.8% 0.109 282.7)

  6. Step 500

    500

    #7F7CDA

    oklch(63.1% 0.139 283.1)

  7. Step 600

    600

    #6963C8

    oklch(55.5% 0.152 282.9)

  8. Step 700

    700

    #5852AD

    oklch(49.2% 0.141 282.9)

  9. Step 800

    800

    #47438C

    oklch(42.6% 0.117 282.7)

  10. Step 900

    900 (this color)

    #302D62

    oklch(33% 0.091 282.8)

  11. Step 950

    950

    #232241

    oklch(27% 0.057 283.4)

Export this scale for Tailwind in the Tailwind colors tool

#302D62 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)#1435640.040
Deuteranopia (no green cones)#1132610.040
Tritanopia (no blue cones)#1E38430.076
Achromatopsia (no color)#3434340.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #302D62

    #302D62

    oklch(33% 0.091 282.8)

  • #3C3600

    #3C3600

    oklch(32.9% 0.069 102.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #302D62

    #302D62

    oklch(33% 0.091 282.8)

  • #0A3662

    #0A3662

    oklch(33% 0.09 252.7)

  • #452556

    #452556

    oklch(33% 0.09 312.6)

Open the analogous palette in the generator

Split complementary

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

  • #302D62

    #302D62

    oklch(33% 0.091 282.8)

  • #4B2F00

    #4B2F00

    oklch(33.1% 0.07 73.5)

  • #223F02

    #223F02

    oklch(33.2% 0.091 132.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #302D62

    #302D62

    oklch(33% 0.091 282.8)

  • #5A2206

    #5A2206

    oklch(33.1% 0.091 43.2)

  • #00412A

    #00412A

    oklch(33.2% 0.073 162)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #302D62

    #302D62

    oklch(33% 0.091 282.8)

  • #5B1D28

    #5B1D28

    oklch(33.1% 0.091 13)

  • #3C3600

    #3C3600

    oklch(32.9% 0.069 102.6)

  • #003E3D

    #003E3D

    oklch(32.9% 0.056 193)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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