#305F8D

Closest named color: Light Navy Blue (#2E5A88). oklch(47.4% 0.091 249.9), rgb(48, 95, 141).

Aa

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

About this color

#305F8D is a medium-dark, moderately saturated blue. In OKLCH its lightness is 47%, its chroma 0.091 and its hue 250°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy Blue (#2E5A88), ΔE 0.016 away. White text reads best on it, at 6.67:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.091)
Temperaturecool
Nearest nameLight Navy Blue (#2E5A88)
Black text3.14:1
White text6.67:1

Values

HEX#305F8D
RGBrgb(48, 95, 141)
HSLhsl(210, 49%, 37%)
OKLCHoklch(47.4% 0.091 249.9)

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 #305F8D 6.67:1 AA Lc -87.8 Fine for body text
Black text on #305F8D 3.14:1 AA large text Lc 21.3 Dividers and decoration only
#305F8D text on white 6.67:1 AA Lc 82.7 Fine for body text
#305F8D text on black 3.14:1 AA large text Lc -19.2 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E4EBF2

    oklch(93.7% 0.012 248)

  3. Step 200

    200

    #CDDBE9

    oklch(88.5% 0.025 248.1)

  4. Step 300

    300

    #ACC3DD

    oklch(80.8% 0.045 251.6)

  5. Step 400

    400

    #7FA4CB

    oklch(70.6% 0.07 250.2)

  6. Step 500

    500

    #5E8EBE

    oklch(63.2% 0.09 249.4)

  7. Step 600

    600

    #4377AA

    oklch(55.6% 0.098 249.6)

  8. Step 700

    700 (this color)

    #305F8D

    oklch(47.4% 0.091 249.9)

  9. Step 800

    800

    #2C5277

    oklch(42.8% 0.076 249.4)

  10. Step 900

    900

    #284460

    oklch(37.8% 0.059 249.6)

  11. Step 950

    950

    #182838

    oklch(27.1% 0.037 249.3)

Export this scale for Tailwind in the Tailwind colors tool

#305F8D 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)#4B618F0.032
Deuteranopia (no green cones)#3E588C0.023
Tritanopia (no blue cones)#006A6F0.072
Achromatopsia (no color)#5C5C5C0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #305F8D

    #305F8D

    oklch(47.4% 0.091 249.9)

  • #7C5218

    #7C5218

    oklch(47.5% 0.091 70.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #305F8D

    #305F8D

    oklch(47.4% 0.091 249.9)

  • #00677D

    #00677D

    oklch(47.5% 0.086 219.3)

  • #52558E

    #52558E

    oklch(47.3% 0.091 280)

Open the analogous palette in the generator

Split complementary

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

  • #305F8D

    #305F8D

    oklch(47.4% 0.091 249.9)

  • #874933

    #874933

    oklch(47.6% 0.091 40.1)

  • #685D12

    #685D12

    oklch(47.5% 0.091 100.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #305F8D

    #305F8D

    oklch(47.4% 0.091 249.9)

  • #874550

    #874550

    oklch(47.5% 0.09 10.6)

  • #4B662B

    #4B662B

    oklch(47.4% 0.091 129.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #305F8D

    #305F8D

    oklch(47.4% 0.091 249.9)

  • #7D466C

    #7D466C

    oklch(47.3% 0.091 339.7)

  • #7C5218

    #7C5218

    oklch(47.5% 0.091 70.3)

  • #226B4A

    #226B4A

    oklch(47.3% 0.09 160.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #305F8D 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.