#505B71

Closest named color: Dusty Grape (#545775). oklch(47% 0.038 264.1), rgb(80, 91, 113).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamuted (0.038)
Temperaturecool
Nearest nameDusty Grape (#545775)
Black text3.07:1
White text6.82:1

Values

HEX#505B71
RGBrgb(80, 91, 113)
HSLhsl(220, 17%, 38%)
OKLCHoklch(47% 0.038 264.1)

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 #505B71 6.82:1 AA Lc -88.6 Fine for body text
Black text on #505B71 3.07:1 AA large text Lc 20.5 Dividers and decoration only
#505B71 text on white 6.82:1 AA Lc 83.6 Fine for body text
#505B71 text on black 3.07:1 AA large text Lc -18.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 700.

  1. Step 50

    50

    #F4F5F7

    oklch(97% 0.003 264.5)

  2. Step 100

    100

    #E8EAED

    oklch(93.6% 0.005 258.3)

  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

    #97A1B4

    oklch(70.7% 0.03 263.4)

  6. Step 500

    500

    #7E8AA1

    oklch(63.2% 0.037 263.5)

  7. Step 600

    600

    #67738C

    oklch(55.5% 0.042 264.9)

  8. Step 700

    700 (this color)

    #505B71

    oklch(47% 0.038 264.1)

  9. Step 800

    800

    #464F61

    oklch(42.7% 0.032 264.1)

  10. Step 900

    900

    #3B424F

    oklch(37.8% 0.024 262.8)

  11. Step 950

    950

    #23262E

    oklch(26.9% 0.016 269.1)

Export this scale for Tailwind in the Tailwind colors tool

#505B71 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)#545C720.007
Deuteranopia (no green cones)#5159700.006
Tritanopia (no blue cones)#475F620.034
Achromatopsia (no color)#5B5B5B0.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #505B71

    #505B71

    oklch(47% 0.038 264.1)

  • #655942

    #655942

    oklch(46.9% 0.038 83.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505B71

    #505B71

    oklch(47% 0.038 264.1)

  • #465F6D

    #465F6D

    oklch(47.1% 0.038 233.1)

  • #5C576F

    #5C576F

    oklch(47.1% 0.039 294.4)

Open the analogous palette in the generator

Split complementary

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

  • #505B71

    #505B71

    oklch(47% 0.038 264.1)

  • #6C5547

    #6C5547

    oklch(46.9% 0.038 52.9)

  • #5A5E45

    #5A5E45

    oklch(47.1% 0.039 115.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505B71

    #505B71

    oklch(47% 0.038 264.1)

  • #6F5350

    #6F5350

    oklch(47.1% 0.038 25.6)

  • #4E614D

    #4E614D

    oklch(47.1% 0.039 143.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505B71

    #505B71

    oklch(47% 0.038 264.1)

  • #6D525C

    #6D525C

    oklch(47% 0.039 354.6)

  • #655942

    #655942

    oklch(46.9% 0.038 83.5)

  • #446259

    #446259

    oklch(47% 0.038 174)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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