#305C8D

Closest named color: Light Navy Blue (#2E5A88). oklch(46.7% 0.094 252.7), rgb(48, 92, 141).

Aa

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

About this color

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

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

Values

HEX#305C8D
RGBrgb(48, 92, 141)
HSLhsl(212, 49%, 37%)
OKLCHoklch(46.7% 0.094 252.7)

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 #305C8D 6.90:1 AA Lc -88.7 Fine for body text
Black text on #305C8D 3.04:1 AA large text Lc 20.4 Dividers and decoration only
#305C8D text on white 6.90:1 AA Lc 83.7 Fine for body text
#305C8D text on black 3.04:1 AA large text Lc -18.3 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

    #E4EBF3

    oklch(93.7% 0.013 251.6)

  3. Step 200

    200

    #CEDBEA

    oklch(88.6% 0.025 251.9)

  4. Step 300

    300

    #ACC3DE

    oklch(80.9% 0.046 252.5)

  5. Step 400

    400

    #80A4CD

    oklch(70.7% 0.072 252.1)

  6. Step 500

    500

    #608DC0

    oklch(63.2% 0.092 252.3)

  7. Step 600

    600

    #4576AD

    oklch(55.6% 0.101 252.5)

  8. Step 700

    700 (this color)

    #305C8D

    oklch(46.7% 0.094 252.7)

  9. Step 800

    800

    #2E5178

    oklch(42.7% 0.077 252.4)

  10. Step 900

    900

    #294361

    oklch(37.6% 0.061 252.9)

  11. Step 950

    950

    #182739

    oklch(26.8% 0.04 253.6)

Export this scale for Tailwind in the Tailwind colors tool

#305C8D 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)#475F8F0.029
Deuteranopia (no green cones)#3A568C0.019
Tritanopia (no blue cones)#00676E0.074
Achromatopsia (no color)#5A5A5A0.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #305C8D

    #305C8D

    oklch(46.7% 0.094 252.7)

  • #7A500E

    #7A500E

    oklch(46.7% 0.094 72)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #305C8D

    #305C8D

    oklch(46.7% 0.094 252.7)

  • #00647D

    #00647D

    oklch(46.7% 0.087 222.7)

  • #53528D

    #53528D

    oklch(46.7% 0.094 282.9)

Open the analogous palette in the generator

Split complementary

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

  • #305C8D

    #305C8D

    oklch(46.7% 0.094 252.7)

  • #85462C

    #85462C

    oklch(46.6% 0.094 42.5)

  • #645C0A

    #645C0A

    oklch(46.8% 0.094 103.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #305C8D

    #305C8D

    oklch(46.7% 0.094 252.7)

  • #86424B

    #86424B

    oklch(46.7% 0.093 13)

  • #45652A

    #45652A

    oklch(46.7% 0.094 132.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #305C8D

    #305C8D

    oklch(46.7% 0.094 252.7)

  • #7D4368

    #7D4368

    oklch(46.6% 0.094 342.5)

  • #7A500E

    #7A500E

    oklch(46.7% 0.094 72)

  • #156A4A

    #156A4A

    oklch(46.7% 0.094 162.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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