#302D7E

Closest named color: Marine Blue (#01386A). oklch(35.3% 0.133 278.8), rgb(48, 45, 126).

Aa

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

About this color

#302D7E is a dark, moderately saturated blue. In OKLCH its lightness is 35%, its chroma 0.133 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.063 away. White text reads best on it, at 11.65:1.

Hue familyBlues
Lightnessdark (35%)
Chromamoderately saturated (0.133)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.80:1
White text11.65:1

Values

HEX#302D7E
RGBrgb(48, 45, 126)
HSLhsl(242, 47%, 34%)
OKLCHoklch(35.3% 0.133 278.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 #302D7E 11.65:1 AAA Lc -100.1 Preferred for body text
Black text on #302D7E 1.80:1 Fails Lc 7.5 Not readable
#302D7E text on white 11.65:1 AAA Lc 96.4 Preferred for body text
#302D7E text on black 1.80: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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E5E8FE

    oklch(93.5% 0.03 279.6)

  3. Step 200

    200

    #D0D6FE

    oklch(88.4% 0.055 278.5)

  4. Step 300

    300

    #B2BAFF

    oklch(80.8% 0.098 278.8)

  5. Step 400

    400

    #8D94FF

    oklch(70.8% 0.155 278.8)

  6. Step 500

    500

    #7374FF

    oklch(63.1% 0.202 278.6)

  7. Step 600

    600

    #5F57EF

    oklch(55.6% 0.22 278.8)

  8. Step 700

    700

    #4F45D0

    oklch(49% 0.205 278.8)

  9. Step 800

    800

    #403AA8

    oklch(42.6% 0.17 278.8)

  10. Step 900

    900 (this color)

    #302D7E

    oklch(35.3% 0.133 278.8)

  11. Step 950

    950

    #1F1F4E

    oklch(26.9% 0.084 279.1)

Export this scale for Tailwind in the Tailwind colors tool

#302D7E 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)#003C810.052
Deuteranopia (no green cones)#00357C0.047
Tritanopia (no blue cones)#0041510.113
Achromatopsia (no color)#3838380.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #302D7E

    #302D7E

    oklch(35.3% 0.133 278.8)

  • #453B00

    #453B00

    oklch(35.2% 0.073 98.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #302D7E

    #302D7E

    oklch(35.3% 0.133 278.8)

  • #003D6B

    #003D6B

    oklch(35.3% 0.097 248.9)

  • #4F206F

    #4F206F

    oklch(35.4% 0.133 308.3)

Open the analogous palette in the generator

Split complementary

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

  • #302D7E

    #302D7E

    oklch(35.3% 0.133 278.8)

  • #553300

    #553300

    oklch(35.4% 0.077 69.4)

  • #2C4400

    #2C4400

    oklch(35.3% 0.093 128.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #302D7E

    #302D7E

    oklch(35.3% 0.133 278.8)

  • #6A1E00

    #6A1E00

    oklch(35.4% 0.114 38.7)

  • #00482B

    #00482B

    oklch(35.4% 0.082 158.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #302D7E

    #302D7E

    oklch(35.3% 0.133 278.8)

  • #6F0A2D

    #6F0A2D

    oklch(35.3% 0.132 8.6)

  • #453B00

    #453B00

    oklch(35.2% 0.073 98.5)

  • #004542

    #004542

    oklch(35.2% 0.061 189.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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