#52559A

Closest named color: Twilight (#4E518B). oklch(48% 0.11 279.5), rgb(82, 85, 154).

Aa

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

About this color

#52559A is a medium-dark, moderately saturated blue. In OKLCH its lightness is 48%, its chroma 0.110 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.026 away. White text reads best on it, at 6.72:1.

Hue familyBlues
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.110)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text3.12:1
White text6.72:1

Values

HEX#52559A
RGBrgb(82, 85, 154)
HSLhsl(238, 31%, 46%)
OKLCHoklch(48% 0.11 279.5)

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 #52559A 6.72:1 AA Lc -88.0 Fine for body text
Black text on #52559A 3.12:1 AA large text Lc 21.0 Dividers and decoration only
#52559A text on white 6.72:1 AA Lc 83.0 Fine for body text
#52559A text on black 3.12:1 AA large text Lc -18.9 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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E7E9F4

    oklch(93.6% 0.015 277.8)

  3. Step 200

    200

    #D5D8ED

    oklch(88.6% 0.029 279.3)

  4. Step 300

    300

    #B9BEE3

    oklch(81% 0.052 279.1)

  5. Step 400

    400

    #959BD5

    oklch(70.6% 0.085 279.4)

  6. Step 500

    500

    #7C82CA

    oklch(63.2% 0.108 279.2)

  7. Step 600

    600

    #666AB7

    oklch(55.6% 0.118 279.6)

  8. Step 700

    700 (this color)

    #52559A

    oklch(48% 0.11 279.5)

  9. Step 800

    800

    #454880

    oklch(42.7% 0.092 279.4)

  10. Step 900

    900

    #3A3D66

    oklch(37.7% 0.07 279.3)

  11. Step 950

    950

    #22243C

    oklch(27.1% 0.045 279.3)

Export this scale for Tailwind in the Tailwind colors tool

#52559A 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)#3A5E9D0.036
Deuteranopia (no green cones)#3559980.038
Tritanopia (no blue cones)#3963700.095
Achromatopsia (no color)#5C5C5C0.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #52559A

    #52559A

    oklch(48% 0.11 279.5)

  • #6C5E00

    #6C5E00

    oklch(48.1% 0.1 99.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #52559A

    #52559A

    oklch(48% 0.11 279.5)

  • #236199

    #236199

    oklch(48.1% 0.11 249.4)

  • #704A8C

    #704A8C

    oklch(48% 0.11 309.4)

Open the analogous palette in the generator

Split complementary

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

  • #52559A

    #52559A

    oklch(48% 0.11 279.5)

  • #835100

    #835100

    oklch(48.1% 0.105 69.2)

  • #49691D

    #49691D

    oklch(47.9% 0.11 129.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #52559A

    #52559A

    oklch(48% 0.11 279.5)

  • #90452A

    #90452A

    oklch(48.1% 0.109 40)

  • #007047

    #007047

    oklch(48.1% 0.11 159.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #52559A

    #52559A

    oklch(48% 0.11 279.5)

  • #904050

    #904050

    oklch(48.1% 0.109 9.6)

  • #6C5E00

    #6C5E00

    oklch(48.1% 0.1 99.1)

  • #006C68

    #006C68

    oklch(47.9% 0.083 190.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #52559A 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.