#505A71

Closest named color: Dusty Grape (#545775). oklch(46.8% 0.04 266.5), rgb(80, 90, 113).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamuted (0.040)
Temperaturecool
Nearest nameDusty Grape (#545775)
Black text3.04:1
White text6.90:1

Values

HEX#505A71
RGBrgb(80, 90, 113)
HSLhsl(222, 17%, 38%)
OKLCHoklch(46.8% 0.04 266.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 #505A71 6.90:1 AA Lc -88.8 Fine for body text
Black text on #505A71 3.04:1 AA large text Lc 20.2 Dividers and decoration only
#505A71 text on white 6.90:1 AA Lc 83.9 Fine for body text
#505A71 text on black 3.04:1 AA large text Lc -18.1 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

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #E8EAEE

    oklch(93.7% 0.006 264.5)

  3. Step 200

    200

    #D6D9E0

    oklch(88.5% 0.01 267.4)

  4. Step 300

    300

    #BBC1CD

    oklch(81% 0.018 264.5)

  5. Step 400

    400

    #98A1B4

    oklch(70.8% 0.03 265.4)

  6. Step 500

    500

    #7F89A2

    oklch(63.1% 0.039 268.1)

  7. Step 600

    600

    #68738D

    oklch(55.6% 0.043 267)

  8. Step 700

    700 (this color)

    #505A71

    oklch(46.8% 0.04 266.5)

  9. Step 800

    800

    #474F61

    oklch(42.8% 0.032 266.2)

  10. Step 900

    900

    #3B4150

    oklch(37.6% 0.027 268)

  11. Step 950

    950

    #23262F

    oklch(26.9% 0.017 270.7)

Export this scale for Tailwind in the Tailwind colors tool

#505A71 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)#535C720.008
Deuteranopia (no green cones)#5059700.003
Tritanopia (no blue cones)#475F620.036
Achromatopsia (no color)#5A5A5A0.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #505A71

    #505A71

    oklch(46.8% 0.04 266.5)

  • #645941

    #645941

    oklch(46.8% 0.039 86.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505A71

    #505A71

    oklch(46.8% 0.04 266.5)

  • #455E6E

    #455E6E

    oklch(46.8% 0.04 236.8)

  • #5C566E

    #5C566E

    oklch(46.8% 0.039 296.3)

Open the analogous palette in the generator

Split complementary

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

  • #505A71

    #505A71

    oklch(46.8% 0.04 266.5)

  • #6C5545

    #6C5545

    oklch(46.9% 0.039 56.4)

  • #595D44

    #595D44

    oklch(46.8% 0.039 115.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505A71

    #505A71

    oklch(46.8% 0.04 266.5)

  • #6F524E

    #6F524E

    oklch(46.8% 0.04 27.6)

  • #4C614D

    #4C614D

    oklch(46.9% 0.041 146.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505A71

    #505A71

    oklch(46.8% 0.04 266.5)

  • #6D515B

    #6D515B

    oklch(46.8% 0.04 355.5)

  • #645941

    #645941

    oklch(46.8% 0.039 86.2)

  • #42625A

    #42625A

    oklch(46.9% 0.04 177.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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