#305B71

Closest named color: YInMn Blue (#415A77). oklch(45% 0.06 232.5), rgb(48, 91, 113).

Aa

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

About this color

#305B71 is a dark, muted blue. In OKLCH its lightness is 45%, its chroma 0.060 and its hue 233°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.023 away. White text reads best on it, at 7.34:1.

Hue familyBlues
Lightnessdark (45%)
Chromamuted (0.060)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.86:1
White text7.34:1

Values

HEX#305B71
RGBrgb(48, 91, 113)
HSLhsl(200, 40%, 32%)
OKLCHoklch(45% 0.06 232.5)

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 #305B71 7.34:1 AAA Lc -90.2 Preferred for body text
Black text on #305B71 2.86:1 Fails Lc 18.6 Dividers and decoration only
#305B71 text on white 7.34:1 AAA Lc 85.4 Fine for body text
#305B71 text on black 2.86:1 Fails Lc -16.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 800.

  1. Step 50

    50

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E4EBF0

    oklch(93.6% 0.01 238.5)

  3. Step 200

    200

    #CDDCE4

    oklch(88.6% 0.02 230.7)

  4. Step 300

    300

    #ABC5D4

    oklch(80.9% 0.035 233.2)

  5. Step 400

    400

    #7EA7BE

    oklch(70.7% 0.056 233.1)

  6. Step 500

    500

    #5B91AE

    oklch(63% 0.072 233)

  7. Step 600

    600

    #3F7B99

    oklch(55.5% 0.078 232.3)

  8. Step 700

    700

    #316883

    oklch(49.2% 0.072 232.2)

  9. Step 800

    800 (this color)

    #305B71

    oklch(45% 0.06 232.5)

  10. Step 900

    900

    #264656

    oklch(37.7% 0.047 231.6)

  11. Step 950

    950

    #172933

    oklch(27% 0.03 233.8)

Export this scale for Tailwind in the Tailwind colors tool

#305B71 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)#505A720.040
Deuteranopia (no green cones)#4753710.035
Tritanopia (no blue cones)#0061620.045
Achromatopsia (no color)#5656560.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #305B71

    #305B71

    oklch(45% 0.06 232.5)

  • #704C35

    #704C35

    oklch(45.1% 0.06 53.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #305B71

    #305B71

    oklch(45% 0.06 232.5)

  • #255F64

    #255F64

    oklch(45% 0.06 203.1)

  • #435577

    #435577

    oklch(44.9% 0.06 262.7)

Open the analogous palette in the generator

Split complementary

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

  • #305B71

    #305B71

    oklch(45% 0.06 232.5)

  • #734846

    #734846

    oklch(45% 0.059 22.6)

  • #66522C

    #66522C

    oklch(45% 0.061 82.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #305B71

    #305B71

    oklch(45% 0.06 232.5)

  • #6F4758

    #6F4758

    oklch(44.9% 0.06 352.7)

  • #565930

    #565930

    oklch(45.1% 0.061 112.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #305B71

    #305B71

    oklch(45% 0.06 232.5)

  • #654A69

    #654A69

    oklch(45% 0.06 322.1)

  • #704C35

    #704C35

    oklch(45.1% 0.06 53.2)

  • #415E3F

    #415E3F

    oklch(45% 0.06 143)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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