#505F82

Closest named color: Dusty Grape (#545775). oklch(48.7% 0.06 266.3), rgb(80, 95, 130).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (49%)
Chromamuted (0.060)
Temperaturecool
Nearest nameDusty Grape (#545775)
Black text3.30:1
White text6.36:1

Values

HEX#505F82
RGBrgb(80, 95, 130)
HSLhsl(222, 24%, 41%)
OKLCHoklch(48.7% 0.06 266.3)

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 #505F82 6.36:1 AA Lc -86.7 Fine for body text
Black text on #505F82 3.30:1 AA large text Lc 22.4 Dividers and decoration only
#505F82 text on white 6.36:1 AA Lc 81.6 Fine for body text
#505F82 text on black 3.30:1 AA large text Lc -20.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

    #E7EAF0

    oklch(93.6% 0.009 264.5)

  3. Step 200

    200

    #D4D9E4

    oklch(88.5% 0.016 266.3)

  4. Step 300

    300

    #B8C1D4

    oklch(81% 0.029 265.4)

  5. Step 400

    400

    #93A0BE

    oklch(70.6% 0.046 266.7)

  6. Step 500

    500

    #7989AE

    oklch(63.1% 0.059 266.5)

  7. Step 600

    600

    #627399

    oklch(55.7% 0.063 265.7)

  8. Step 700

    700 (this color)

    #505F82

    oklch(48.7% 0.06 266.3)

  9. Step 800

    800

    #424E6A

    oklch(42.5% 0.049 266.4)

  10. Step 900

    900

    #384156

    oklch(37.6% 0.038 266.6)

  11. Step 950

    950

    #212633

    oklch(27% 0.025 268.3)

Export this scale for Tailwind in the Tailwind colors tool

#505F82 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)#5362840.010
Deuteranopia (no green cones)#4E5D810.007
Tritanopia (no blue cones)#40666B0.054
Achromatopsia (no color)#5F5F5F0.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #505F82

    #505F82

    oklch(48.7% 0.06 266.3)

  • #6F5E37

    #6F5E37

    oklch(48.9% 0.06 86.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505F82

    #505F82

    oklch(48.7% 0.06 266.3)

  • #3D657D

    #3D657D

    oklch(48.7% 0.059 236.1)

  • #63597E

    #63597E

    oklch(48.8% 0.059 296.5)

Open the analogous palette in the generator

Split complementary

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

  • #505F82

    #505F82

    oklch(48.7% 0.06 266.3)

  • #7A573E

    #7A573E

    oklch(48.8% 0.06 56.4)

  • #5E643C

    #5E643C

    oklch(48.7% 0.06 115.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505F82

    #505F82

    oklch(48.7% 0.06 266.3)

  • #7E534E

    #7E534E

    oklch(48.8% 0.059 26.7)

  • #49694C

    #49694C

    oklch(48.7% 0.059 147)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505F82

    #505F82

    oklch(48.7% 0.06 266.3)

  • #7B5261

    #7B5261

    oklch(48.8% 0.059 355.9)

  • #6F5E37

    #6F5E37

    oklch(48.9% 0.06 86.7)

  • #376B5F

    #376B5F

    oklch(48.8% 0.06 176.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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