#505A77

Closest named color: Dusty Grape (#545775). oklch(47.1% 0.049 269.7), rgb(80, 90, 119).

Aa

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

About this color

#505A77 is a medium-dark, muted blue. In OKLCH its lightness is 47%, its chroma 0.049 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Dusty Grape (#545775), ΔE 0.010 away. White text reads best on it, at 6.84:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamuted (0.049)
Temperaturecool
Nearest nameDusty Grape (#545775)
Black text3.06:1
White text6.84:1

Values

HEX#505A77
RGBrgb(80, 90, 119)
HSLhsl(225, 20%, 39%)
OKLCHoklch(47.1% 0.049 269.7)

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 #505A77 6.84:1 AA Lc -88.6 Fine for body text
Black text on #505A77 3.06:1 AA large text Lc 20.4 Dividers and decoration only
#505A77 text on white 6.84:1 AA Lc 83.6 Fine for body text
#505A77 text on black 3.06: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

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E8EAEF

    oklch(93.7% 0.007 268.5)

  3. Step 200

    200

    #D5D9E2

    oklch(88.5% 0.013 266.7)

  4. Step 300

    300

    #BAC0D0

    oklch(80.8% 0.023 269.4)

  5. Step 400

    400

    #97A0B9

    oklch(70.7% 0.038 269.7)

  6. Step 500

    500

    #7E89A7

    oklch(63.2% 0.047 269.2)

  7. Step 600

    600

    #677293

    oklch(55.6% 0.053 270.3)

  8. Step 700

    700 (this color)

    #505A77

    oklch(47.1% 0.049 269.7)

  9. Step 800

    800

    #464E66

    oklch(42.7% 0.041 270.3)

  10. Step 900

    900

    #3B4153

    oklch(37.7% 0.032 270.4)

  11. Step 950

    950

    #222630

    oklch(26.9% 0.02 267.9)

Export this scale for Tailwind in the Tailwind colors tool

#505A77 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)#515C780.006
Deuteranopia (no green cones)#4E59760.005
Tritanopia (no blue cones)#4560640.044
Achromatopsia (no color)#5B5B5B0.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #505A77

    #505A77

    oklch(47.1% 0.049 269.7)

  • #665A3B

    #665A3B

    oklch(47.1% 0.049 89.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505A77

    #505A77

    oklch(47.1% 0.049 269.7)

  • #415F74

    #415F74

    oklch(47.1% 0.049 239.7)

  • #5F5573

    #5F5573

    oklch(47.1% 0.049 299.8)

Open the analogous palette in the generator

Split complementary

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

  • #505A77

    #505A77

    oklch(47.1% 0.049 269.7)

  • #70553F

    #70553F

    oklch(47.2% 0.049 60.4)

  • #575F40

    #575F40

    oklch(47% 0.048 120.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505A77

    #505A77

    oklch(47.1% 0.049 269.7)

  • #74514B

    #74514B

    oklch(47.1% 0.048 29.9)

  • #47634C

    #47634C

    oklch(47% 0.05 149.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505A77

    #505A77

    oklch(47.1% 0.049 269.7)

  • #72505A

    #72505A

    oklch(47.1% 0.048 359.8)

  • #665A3B

    #665A3B

    oklch(47.1% 0.049 89.2)

  • #3B645C

    #3B645C

    oklch(47% 0.048 180.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #505A77 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.