#5A617D

Closest named color: Slate (#516572). oklch(49.7% 0.046 273.7), rgb(90, 97, 125).

Aa

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

About this color

#5A617D is a medium-dark, muted blue. In OKLCH its lightness is 50%, its chroma 0.046 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Slate (#516572), ΔE 0.028 away. White text reads best on it, at 6.10:1.

Hue familyBlues
Lightnessmedium-dark (50%)
Chromamuted (0.046)
Temperaturecool
Nearest nameSlate (#516572)
Black text3.44:1
White text6.10:1

Values

HEX#5A617D
RGBrgb(90, 97, 125)
HSLhsl(228, 16%, 42%)
OKLCHoklch(49.7% 0.046 273.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 #5A617D 6.10:1 AA Lc -85.6 Fine for body text
Black text on #5A617D 3.44:1 AA large text Lc 23.6 Dividers and decoration only
#5A617D text on white 6.10:1 AA Lc 80.5 Fine for body text
#5A617D text on black 3.44:1 AA large text Lc -21.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

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #E8EAEE

    oklch(93.7% 0.006 264.5)

  3. Step 200

    200

    #D6D9E1

    oklch(88.5% 0.011 269.5)

  4. Step 300

    300

    #BCC0CF

    oklch(80.9% 0.021 274)

  5. Step 400

    400

    #99A0B7

    oklch(70.8% 0.034 272.1)

  6. Step 500

    500

    #8088A5

    oklch(63% 0.045 273)

  7. Step 600

    600

    #6A7291

    oklch(55.7% 0.049 273.4)

  8. Step 700

    700 (this color)

    #5A617D

    oklch(49.7% 0.046 273.7)

  9. Step 800

    800

    #484E64

    oklch(42.7% 0.037 272.8)

  10. Step 900

    900

    #3C4152

    oklch(37.8% 0.03 272.1)

  11. Step 950

    950

    #232630

    oklch(27% 0.019 272)

Export this scale for Tailwind in the Tailwind colors tool

#5A617D 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)#59637E0.006
Deuteranopia (no green cones)#56617C0.006
Tritanopia (no blue cones)#51666A0.041
Achromatopsia (no color)#6262620.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A617D

    #5A617D

    oklch(49.7% 0.046 273.7)

  • #6B6244

    #6B6244

    oklch(49.7% 0.046 93.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A617D

    #5A617D

    oklch(49.7% 0.046 273.7)

  • #4C667B

    #4C667B

    oklch(49.8% 0.046 243.2)

  • #685C78

    #685C78

    oklch(49.7% 0.046 304.3)

Open the analogous palette in the generator

Split complementary

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

  • #5A617D

    #5A617D

    oklch(49.7% 0.046 273.7)

  • #755D47

    #755D47

    oklch(49.7% 0.046 64)

  • #5D674A

    #5D674A

    oklch(49.7% 0.046 123.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A617D

    #5A617D

    oklch(49.7% 0.046 273.7)

  • #7A5952

    #7A5952

    oklch(49.7% 0.045 32.2)

  • #4E6A57

    #4E6A57

    oklch(49.6% 0.045 154.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A617D

    #5A617D

    oklch(49.7% 0.046 273.7)

  • #795860

    #795860

    oklch(49.7% 0.045 2.8)

  • #6B6244

    #6B6244

    oklch(49.7% 0.046 93.4)

  • #446B65

    #446B65

    oklch(49.7% 0.045 183.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5A617D 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.