#305F7C

Closest named color: YInMn Blue (#415A77). oklch(46.5% 0.07 237.9), rgb(48, 95, 124).

Aa

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

About this color

#305F7C is a medium-dark, muted blue. In OKLCH its lightness is 47%, its chroma 0.070 and its hue 238°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.022 away. White text reads best on it, at 6.87:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamuted (0.070)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text3.05:1
White text6.87:1

Values

HEX#305F7C
RGBrgb(48, 95, 124)
HSLhsl(203, 44%, 34%)
OKLCHoklch(46.5% 0.07 237.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 #305F7C 6.87:1 AA Lc -88.6 Fine for body text
Black text on #305F7C 3.05:1 AA large text Lc 20.4 Dividers and decoration only
#305F7C text on white 6.87:1 AA Lc 83.6 Fine for body text
#305F7C text on black 3.05: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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBF0

    oklch(93.6% 0.01 238.5)

  3. Step 200

    200

    #CEDBE4

    oklch(88.4% 0.019 237.8)

  4. Step 300

    300

    #ADC4D4

    oklch(80.8% 0.034 238.3)

  5. Step 400

    400

    #81A6BF

    oklch(70.7% 0.055 238.1)

  6. Step 500

    500

    #6190AF

    oklch(63.2% 0.069 238.2)

  7. Step 600

    600

    #467A9A

    oklch(55.6% 0.075 237.2)

  8. Step 700

    700 (this color)

    #305F7C

    oklch(46.5% 0.07 237.9)

  9. Step 800

    800

    #2E546B

    oklch(42.8% 0.058 236.8)

  10. Step 900

    900

    #2A4557

    oklch(37.7% 0.045 238.8)

  11. Step 950

    950

    #192933

    oklch(27.1% 0.028 236.7)

Export this scale for Tailwind in the Tailwind colors tool

#305F7C 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)#525F7D0.041
Deuteranopia (no green cones)#47577C0.033
Tritanopia (no blue cones)#0066690.051
Achromatopsia (no color)#5A5A5A0.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #305F7C

    #305F7C

    oklch(46.5% 0.07 237.9)

  • #774F30

    #774F30

    oklch(46.5% 0.07 57.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #305F7C

    #305F7C

    oklch(46.5% 0.07 237.9)

  • #1D646E

    #1D646E

    oklch(46.5% 0.07 208.6)

  • #495881

    #495881

    oklch(46.6% 0.07 268.3)

Open the analogous palette in the generator

Split complementary

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

  • #305F7C

    #305F7C

    oklch(46.5% 0.07 237.9)

  • #7C4A43

    #7C4A43

    oklch(46.5% 0.07 28.6)

  • #6A5728

    #6A5728

    oklch(46.5% 0.069 87.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #305F7C

    #305F7C

    oklch(46.5% 0.07 237.9)

  • #794959

    #794959

    oklch(46.6% 0.069 358.6)

  • #565F30

    #565F30

    oklch(46.6% 0.07 118.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #305F7C

    #305F7C

    oklch(46.5% 0.07 237.9)

  • #6F4B6D

    #6F4B6D

    oklch(46.5% 0.07 328.5)

  • #774F30

    #774F30

    oklch(46.5% 0.07 57.7)

  • #3D6443

    #3D6443

    oklch(46.4% 0.069 148.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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