#4D5172

Closest named color: Dusty Grape (#545775). oklch(44.5% 0.054 278.6), rgb(77, 81, 114).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (45%)
Chromamuted (0.054)
Temperaturecool
Nearest nameDusty Grape (#545775)
Black text2.73:1
White text7.67:1

Values

HEX#4D5172
RGBrgb(77, 81, 114)
HSLhsl(234, 19%, 37%)
OKLCHoklch(44.5% 0.054 278.6)

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 #4D5172 7.67:1 AAA Lc -91.4 Preferred for body text
Black text on #4D5172 2.73:1 Fails Lc 17.4 Dividers and decoration only
#4D5172 text on white 7.67:1 AAA Lc 86.7 Fine for body text
#4D5172 text on black 2.73:1 Fails Lc -15.4 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

    #D6D8E5

    oklch(88.5% 0.018 279)

  4. Step 300

    300

    #BBBFD5

    oklch(80.8% 0.031 277.5)

  5. Step 400

    400

    #999EC1

    oklch(70.7% 0.051 278.6)

  6. Step 500

    500

    #8086B1

    oklch(63.1% 0.065 278.2)

  7. Step 600

    600

    #6A6F9D

    oklch(55.6% 0.072 279)

  8. Step 700

    700

    #585D86

    oklch(49.1% 0.066 278.3)

  9. Step 800

    800 (this color)

    #4D5172

    oklch(44.5% 0.054 278.6)

  10. Step 900

    900

    #3C3F58

    oklch(37.6% 0.043 278.8)

  11. Step 950

    950

    #232534

    oklch(26.9% 0.028 278.4)

Export this scale for Tailwind in the Tailwind colors tool

#4D5172 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)#4755730.014
Deuteranopia (no green cones)#4552710.012
Tritanopia (no blue cones)#43575D0.047
Achromatopsia (no color)#5353530.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D5172

    #4D5172

    oklch(44.5% 0.054 278.6)

  • #5C5530

    #5C5530

    oklch(44.7% 0.055 98.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D5172

    #4D5172

    oklch(44.5% 0.054 278.6)

  • #3C5771

    #3C5771

    oklch(44.6% 0.054 248.2)

  • #5D4C6B

    #5D4C6B

    oklch(44.6% 0.054 309.2)

Open the analogous palette in the generator

Split complementary

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

  • #4D5172

    #4D5172

    oklch(44.5% 0.054 278.6)

  • #684E32

    #684E32

    oklch(44.4% 0.054 67.7)

  • #4B5A39

    #4B5A39

    oklch(44.5% 0.055 128.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D5172

    #4D5172

    oklch(44.5% 0.054 278.6)

  • #6E493E

    #6E493E

    oklch(44.4% 0.054 37.3)

  • #395D49

    #395D49

    oklch(44.5% 0.053 158.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D5172

    #4D5172

    oklch(44.5% 0.054 278.6)

  • #6E474E

    #6E474E

    oklch(44.4% 0.054 7.8)

  • #5C5530

    #5C5530

    oklch(44.7% 0.055 98.8)

  • #2C5E5A

    #2C5E5A

    oklch(44.6% 0.054 188.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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