#505B76

Closest named color: Dusty Grape (#545775). oklch(47.3% 0.046 267.4), rgb(80, 91, 118).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamuted (0.046)
Temperaturecool
Nearest nameDusty Grape (#545775)
Black text3.09:1
White text6.77:1

Values

HEX#505B76
RGBrgb(80, 91, 118)
HSLhsl(223, 19%, 39%)
OKLCHoklch(47.3% 0.046 267.4)

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 #505B76 6.77:1 AA Lc -88.4 Fine for body text
Black text on #505B76 3.09:1 AA large text Lc 20.7 Dividers and decoration only
#505B76 text on white 6.77:1 AA Lc 83.4 Fine for body text
#505B76 text on black 3.09:1 AA large text Lc -18.6 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

    #E8EAEE

    oklch(93.7% 0.006 264.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

    #97A0B8

    oklch(70.7% 0.037 269.2)

  6. Step 500

    500

    #7D89A6

    oklch(63.1% 0.046 267.4)

  7. Step 600

    600

    #667391

    oklch(55.6% 0.049 266.5)

  8. Step 700

    700 (this color)

    #505B76

    oklch(47.3% 0.046 267.4)

  9. Step 800

    800

    #464F64

    oklch(42.8% 0.037 266.7)

  10. Step 900

    900

    #3B4152

    oklch(37.7% 0.03 269.7)

  11. Step 950

    950

    #222630

    oklch(26.9% 0.02 267.9)

Export this scale for Tailwind in the Tailwind colors tool

#505B76 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)#525D770.007
Deuteranopia (no green cones)#4F5A750.004
Tritanopia (no blue cones)#4560640.041
Achromatopsia (no color)#5B5B5B0.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #505B76

    #505B76

    oklch(47.3% 0.046 267.4)

  • #675A3D

    #675A3D

    oklch(47.3% 0.046 86.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505B76

    #505B76

    oklch(47.3% 0.046 267.4)

  • #436072

    #436072

    oklch(47.4% 0.045 236.2)

  • #5E5673

    #5E5673

    oklch(47.2% 0.047 297.2)

Open the analogous palette in the generator

Split complementary

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

  • #505B76

    #505B76

    oklch(47.3% 0.046 267.4)

  • #705542

    #705542

    oklch(47.2% 0.046 56.5)

  • #595F41

    #595F41

    oklch(47.2% 0.046 117.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505B76

    #505B76

    oklch(47.3% 0.046 267.4)

  • #73524D

    #73524D

    oklch(47.2% 0.045 28.6)

  • #4A634D

    #4A634D

    oklch(47.3% 0.046 148)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505B76

    #505B76

    oklch(47.3% 0.046 267.4)

  • #71515C

    #71515C

    oklch(47.3% 0.046 356.6)

  • #675A3D

    #675A3D

    oklch(47.3% 0.046 86.5)

  • #3E645B

    #3E645B

    oklch(47.2% 0.046 177.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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