#4E5171

Closest named color: Dusty Grape (#545775). oklch(44.6% 0.053 279.9), rgb(78, 81, 113).

Aa

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

About this color

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

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

Values

HEX#4E5171
RGBrgb(78, 81, 113)
HSLhsl(235, 18%, 37%)
OKLCHoklch(44.6% 0.053 279.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 #4E5171 7.66:1 AAA Lc -91.4 Preferred for body text
Black text on #4E5171 2.73:1 Fails Lc 17.4 Dividers and decoration only
#4E5171 text on white 7.66:1 AAA Lc 86.6 Fine for body text
#4E5171 text on black 2.73:1 Fails Lc -15.5 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

    #BCBFD5

    oklch(80.9% 0.031 279.5)

  5. Step 400

    400

    #9A9EBF

    oklch(70.7% 0.048 279.7)

  6. Step 500

    500

    #8186AF

    oklch(63.1% 0.062 279.1)

  7. Step 600

    600

    #6B6F9B

    oklch(55.6% 0.068 279.9)

  8. Step 700

    700

    #595D84

    oklch(49.1% 0.063 279.3)

  9. Step 800

    800 (this color)

    #4E5171

    oklch(44.6% 0.053 279.9)

  10. Step 900

    900

    #3D3F57

    oklch(37.6% 0.041 280.5)

  11. Step 950

    950

    #242533

    oklch(27% 0.026 281.3)

Export this scale for Tailwind in the Tailwind colors tool

#4E5171 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)#4855720.014
Deuteranopia (no green cones)#4652700.012
Tritanopia (no blue cones)#45575C0.047
Achromatopsia (no color)#5353530.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E5171

    #4E5171

    oklch(44.6% 0.053 279.9)

  • #5B5532

    #5B5532

    oklch(44.6% 0.053 99.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E5171

    #4E5171

    oklch(44.6% 0.053 279.9)

  • #3D5670

    #3D5670

    oklch(44.4% 0.053 250)

  • #5D4C6A

    #5D4C6A

    oklch(44.6% 0.052 310.1)

Open the analogous palette in the generator

Split complementary

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

  • #4E5171

    #4E5171

    oklch(44.6% 0.053 279.9)

  • #674F33

    #674F33

    oklch(44.6% 0.053 70.1)

  • #4A5A3B

    #4A5A3B

    oklch(44.5% 0.052 130.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E5171

    #4E5171

    oklch(44.6% 0.053 279.9)

  • #6E4A3E

    #6E4A3E

    oklch(44.6% 0.053 39.2)

  • #395D4A

    #395D4A

    oklch(44.5% 0.052 160.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E5171

    #4E5171

    oklch(44.6% 0.053 279.9)

  • #6E484D

    #6E484D

    oklch(44.6% 0.053 10.8)

  • #5B5532

    #5B5532

    oklch(44.6% 0.053 99.7)

  • #2E5E5A

    #2E5E5A

    oklch(44.7% 0.053 188.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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