#5B5C8A

Closest named color: Dusky Blue (#475F94). oklch(49.3% 0.073 282.4), rgb(91, 92, 138).

Aa

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

About this color

#5B5C8A is a medium-dark, moderately saturated purple. In OKLCH its lightness is 49%, its chroma 0.073 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Dusky Blue (#475F94), ΔE 0.030 away. White text reads best on it, at 6.28:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.073)
Temperaturecool
Nearest nameDusky Blue (#475F94)
Black text3.34:1
White text6.28:1

Values

HEX#5B5C8A
RGBrgb(91, 92, 138)
HSLhsl(239, 21%, 45%)
OKLCHoklch(49.3% 0.073 282.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 #5B5C8A 6.28:1 AA Lc -86.4 Fine for body text
Black text on #5B5C8A 3.34:1 AA large text Lc 22.8 Dividers and decoration only
#5B5C8A text on white 6.28:1 AA Lc 81.3 Fine for body text
#5B5C8A text on black 3.34:1 AA large text Lc -20.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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E8E9F1

    oklch(93.6% 0.011 280.5)

  3. Step 200

    200

    #D7D8E6

    oklch(88.6% 0.019 282.7)

  4. Step 300

    300

    #BDBED7

    oklch(80.9% 0.035 283.8)

  5. Step 400

    400

    #9B9DC4

    oklch(70.8% 0.057 282.5)

  6. Step 500

    500

    #8284B5

    oklch(63% 0.073 282.3)

  7. Step 600

    600

    #6C6DA0

    oklch(55.5% 0.079 282.7)

  8. Step 700

    700 (this color)

    #5B5C8A

    oklch(49.3% 0.073 282.4)

  9. Step 800

    800

    #4A4B6F

    oklch(42.8% 0.059 282.4)

  10. Step 900

    900

    #3E3E5A

    oklch(37.6% 0.048 283.9)

  11. Step 950

    950

    #242535

    oklch(27.1% 0.03 281.4)

Export this scale for Tailwind in the Tailwind colors tool

#5B5C8A 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)#4E628C0.023
Deuteranopia (no green cones)#4C5F890.022
Tritanopia (no blue cones)#4F656D0.064
Achromatopsia (no color)#6060600.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B5C8A

    #5B5C8A

    oklch(49.3% 0.073 282.4)

  • #69632F

    #69632F

    oklch(49.3% 0.073 102.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B5C8A

    #5B5C8A

    oklch(49.3% 0.073 282.4)

  • #42648A

    #42648A

    oklch(49.4% 0.073 252)

  • #70557F

    #70557F

    oklch(49.4% 0.073 313.1)

Open the analogous palette in the generator

Split complementary

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

  • #5B5C8A

    #5B5C8A

    oklch(49.3% 0.073 282.4)

  • #7B5A2F

    #7B5A2F

    oklch(49.3% 0.073 72)

  • #516A3E

    #516A3E

    oklch(49.2% 0.073 132.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B5C8A

    #5B5C8A

    oklch(49.3% 0.073 282.4)

  • #85533F

    #85533F

    oklch(49.4% 0.074 42.5)

  • #366E55

    #366E55

    oklch(49.2% 0.072 162.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B5C8A

    #5B5C8A

    oklch(49.3% 0.073 282.4)

  • #864F56

    #864F56

    oklch(49.3% 0.074 11.9)

  • #69632F

    #69632F

    oklch(49.3% 0.073 102.7)

  • #216E6C

    #216E6C

    oklch(49.2% 0.073 192.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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