#303A5F

Closest named color: Prussian Blue (#1D3557). oklch(35.8% 0.066 271.3), rgb(48, 58, 95).

Aa

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

About this color

#303A5F is a dark, muted blue. In OKLCH its lightness is 36%, its chroma 0.066 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.034 away. White text reads best on it, at 11.07:1.

Hue familyBlues
Lightnessdark (36%)
Chromamuted (0.066)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.89:1
White text11.07:1

Values

HEX#303A5F
RGBrgb(48, 58, 95)
HSLhsl(227, 33%, 28%)
OKLCHoklch(35.8% 0.066 271.3)

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 #303A5F 11.07:1 AAA Lc -99.4 Preferred for body text
Black text on #303A5F 1.89:1 Fails Lc 8.4 Not readable
#303A5F text on white 11.07:1 AAA Lc 95.5 Preferred for body text
#303A5F text on black 1.89: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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E6EAF4

    oklch(93.7% 0.014 268.5)

  3. Step 200

    200

    #D2D9EC

    oklch(88.6% 0.027 269.6)

  4. Step 300

    300

    #B5C0E1

    oklch(81% 0.048 270.8)

  5. Step 400

    400

    #8E9ED2

    oklch(70.6% 0.079 271.1)

  6. Step 500

    500

    #7386C7

    oklch(63.2% 0.101 270.9)

  7. Step 600

    600

    #5C6EB3

    oklch(55.5% 0.11 271.4)

  8. Step 700

    700

    #4C5C9A

    oklch(49.1% 0.101 271.3)

  9. Step 800

    800

    #3E4B7D

    oklch(42.6% 0.085 271.4)

  10. Step 900

    900 (this color)

    #303A5F

    oklch(35.8% 0.066 271.3)

  11. Step 950

    950

    #1F253B

    oklch(27% 0.042 271.7)

Export this scale for Tailwind in the Tailwind colors tool

#303A5F 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)#2C3E600.013
Deuteranopia (no green cones)#283A5E0.011
Tritanopia (no blue cones)#1F42480.059
Achromatopsia (no color)#3C3C3C0.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #303A5F

    #303A5F

    oklch(35.8% 0.066 271.3)

  • #493B0B

    #493B0B

    oklch(35.8% 0.066 91.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #303A5F

    #303A5F

    oklch(35.8% 0.066 271.3)

  • #17405C

    #17405C

    oklch(35.7% 0.067 242)

  • #433459

    #433459

    oklch(35.8% 0.065 301.9)

Open the analogous palette in the generator

Split complementary

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

  • #303A5F

    #303A5F

    oklch(35.8% 0.066 271.3)

  • #553414

    #553414

    oklch(35.8% 0.066 61.9)

  • #374217

    #374217

    oklch(35.8% 0.066 121.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #303A5F

    #303A5F

    oklch(35.8% 0.066 271.3)

  • #5A2E27

    #5A2E27

    oklch(35.7% 0.066 30.2)

  • #1F462A

    #1F462A

    oklch(35.7% 0.066 151)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #303A5F

    #303A5F

    oklch(35.8% 0.066 271.3)

  • #582D3A

    #582D3A

    oklch(35.8% 0.065 1.6)

  • #493B0B

    #493B0B

    oklch(35.8% 0.066 91.8)

  • #00473F

    #00473F

    oklch(35.7% 0.064 182.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #303A5F 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.