#305D7C

Closest named color: YInMn Blue (#415A77). oklch(46% 0.071 240.8), rgb(48, 93, 124).

Aa

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

About this color

#305D7C is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.071 and its hue 241°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.020 away. White text reads best on it, at 7.04:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.071)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.98:1
White text7.04:1

Values

HEX#305D7C
RGBrgb(48, 93, 124)
HSLhsl(204, 44%, 34%)
OKLCHoklch(46% 0.071 240.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 #305D7C 7.04:1 AAA Lc -89.2 Fine for body text
Black text on #305D7C 2.98:1 Fails Lc 19.8 Dividers and decoration only
#305D7C text on white 7.04:1 AAA Lc 84.2 Fine for body text
#305D7C text on black 2.98:1 Fails Lc -17.7 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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBF0

    oklch(93.6% 0.01 238.5)

  3. Step 200

    200

    #CEDBE5

    oklch(88.5% 0.02 240.8)

  4. Step 300

    300

    #AEC4D5

    oklch(80.9% 0.034 241.2)

  5. Step 400

    400

    #82A6C0

    oklch(70.8% 0.055 239.9)

  6. Step 500

    500

    #628FB0

    oklch(63% 0.07 241)

  7. Step 600

    600

    #48799C

    oklch(55.6% 0.076 241.1)

  8. Step 700

    700 (this color)

    #305D7C

    oklch(46% 0.071 240.8)

  9. Step 800

    800

    #2F536C

    oklch(42.6% 0.059 240.4)

  10. Step 900

    900

    #2A4558

    oklch(37.7% 0.046 240.3)

  11. Step 950

    950

    #192833

    oklch(26.9% 0.029 241)

Export this scale for Tailwind in the Tailwind colors tool

#305D7C 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)#4F5D7D0.037
Deuteranopia (no green cones)#45557B0.032
Tritanopia (no blue cones)#0065680.054
Achromatopsia (no color)#5959590.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #305D7C

    #305D7C

    oklch(46% 0.071 240.8)

  • #754E2D

    #754E2D

    oklch(46% 0.071 59.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #305D7C

    #305D7C

    oklch(46% 0.071 240.8)

  • #19636E

    #19636E

    oklch(46.1% 0.071 209.6)

  • #495680

    #495680

    oklch(46.1% 0.071 270.3)

Open the analogous palette in the generator

Split complementary

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

  • #305D7C

    #305D7C

    oklch(46% 0.071 240.8)

  • #7B4940

    #7B4940

    oklch(46.1% 0.07 30.9)

  • #675625

    #675625

    oklch(45.9% 0.071 90.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #305D7C

    #305D7C

    oklch(46% 0.071 240.8)

  • #794756

    #794756

    oklch(46.1% 0.071 0.9)

  • #525E2F

    #525E2F

    oklch(46% 0.071 121)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #305D7C

    #305D7C

    oklch(46% 0.071 240.8)

  • #6F496B

    #6F496B

    oklch(46% 0.072 330.4)

  • #754E2D

    #754E2D

    oklch(46% 0.071 59.9)

  • #396343

    #396343

    oklch(45.9% 0.07 150.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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