#4D5271

Closest named color: Dusty Grape (#545775). oklch(44.7% 0.051 277), rgb(77, 82, 113).

Aa

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

About this color

#4D5271 is a dark, muted blue. In OKLCH its lightness is 45%, its chroma 0.051 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Dusty Grape (#545775), ΔE 0.020 away. White text reads best on it, at 7.60:1.

Hue familyBlues
Lightnessdark (45%)
Chromamuted (0.051)
Temperaturecool
Nearest nameDusty Grape (#545775)
Black text2.76:1
White text7.60:1

Values

HEX#4D5271
RGBrgb(77, 82, 113)
HSLhsl(232, 19%, 37%)
OKLCHoklch(44.7% 0.051 277)

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 #4D5271 7.60:1 AAA Lc -91.2 Preferred for body text
Black text on #4D5271 2.76:1 Fails Lc 17.6 Dividers and decoration only
#4D5271 text on white 7.60:1 AAA Lc 86.4 Fine for body text
#4D5271 text on black 2.76:1 Fails Lc -15.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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E8E9F0

    oklch(93.5% 0.009 279.7)

  3. Step 200

    200

    #D6D8E4

    oklch(88.4% 0.017 278.5)

  4. Step 300

    300

    #BBBFD4

    oklch(80.8% 0.03 277.1)

  5. Step 400

    400

    #999EBF

    oklch(70.7% 0.048 278.3)

  6. Step 500

    500

    #8086AF

    oklch(63% 0.062 278)

  7. Step 600

    600

    #69709A

    oklch(55.6% 0.066 276.7)

  8. Step 700

    700

    #585E84

    oklch(49.2% 0.061 277)

  9. Step 800

    800 (this color)

    #4D5271

    oklch(44.7% 0.051 277)

  10. Step 900

    900

    #3C4057

    oklch(37.8% 0.04 276.7)

  11. Step 950

    950

    #232533

    oklch(26.9% 0.026 278.2)

Export this scale for Tailwind in the Tailwind colors tool

#4D5271 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)#4955720.010
Deuteranopia (no green cones)#4752700.009
Tritanopia (no blue cones)#44585D0.045
Achromatopsia (no color)#5454540.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D5271

    #4D5271

    oklch(44.7% 0.051 277)

  • #5C5533

    #5C5533

    oklch(44.7% 0.051 98)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D5271

    #4D5271

    oklch(44.7% 0.051 277)

  • #3D5770

    #3D5770

    oklch(44.7% 0.052 248.1)

  • #5C4D6B

    #5C4D6B

    oklch(44.7% 0.051 307.2)

Open the analogous palette in the generator

Split complementary

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

  • #4D5271

    #4D5271

    oklch(44.7% 0.051 277)

  • #684F35

    #684F35

    oklch(44.7% 0.052 67)

  • #4D5A3B

    #4D5A3B

    oklch(44.8% 0.051 126.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D5271

    #4D5271

    oklch(44.7% 0.051 277)

  • #6E4A40

    #6E4A40

    oklch(44.6% 0.052 36.2)

  • #3C5D49

    #3C5D49

    oklch(44.7% 0.051 157)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D5271

    #4D5271

    oklch(44.7% 0.051 277)

  • #6D494F

    #6D494F

    oklch(44.7% 0.05 8.3)

  • #5C5533

    #5C5533

    oklch(44.7% 0.051 98)

  • #305E59

    #305E59

    oklch(44.8% 0.051 186.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4D5271 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.