#524EC4

Closest named color: Bluey Purple (#6241C7). oklch(49.7% 0.179 279.2), rgb(82, 78, 196).

Aa

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

About this color

#524EC4 is a medium-dark, vivid blue. In OKLCH its lightness is 50%, its chroma 0.179 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.035 away. White text reads best on it, at 6.47:1.

Hue familyBlues
Lightnessmedium-dark (50%)
Chromavivid (0.179)
Temperaturecool
Nearest nameBluey Purple (#6241C7)
Black text3.24:1
White text6.47:1

Values

HEX#524EC4
RGBrgb(82, 78, 196)
HSLhsl(242, 50%, 54%)
OKLCHoklch(49.7% 0.179 279.2)

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 #524EC4 6.47:1 AA Lc -86.8 Fine for body text
Black text on #524EC4 3.24:1 AA large text Lc 22.4 Dividers and decoration only
#524EC4 text on white 6.47:1 AA Lc 81.7 Fine for body text
#524EC4 text on black 3.24:1 AA large text Lc -20.2 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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E6E9FB

    oklch(93.7% 0.024 278.4)

  3. Step 200

    200

    #D2D7F9

    oklch(88.6% 0.047 278.8)

  4. Step 300

    300

    #B4BBF8

    oklch(80.8% 0.086 279.2)

  5. Step 400

    400

    #8F96F5

    oklch(70.8% 0.138 279)

  6. Step 500

    500

    #7678F1

    oklch(63.1% 0.177 279.3)

  7. Step 600

    600

    #615EDF

    oklch(55.7% 0.191 279.2)

  8. Step 700

    700 (this color)

    #524EC4

    oklch(49.7% 0.179 279.2)

  9. Step 800

    800

    #423F9D

    oklch(42.7% 0.148 279.5)

  10. Step 900

    900

    #37377D

    oklch(37.8% 0.116 279.3)

  11. Step 950

    950

    #202149

    oklch(27.1% 0.073 279.3)

Export this scale for Tailwind in the Tailwind colors tool

#524EC4 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)#0063C80.073
Deuteranopia (no green cones)#0059C20.067
Tritanopia (no blue cones)#056B810.155
Achromatopsia (no color)#5E5E5E0.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #524EC4

    #524EC4

    oklch(49.7% 0.179 279.2)

  • #716300

    #716300

    oklch(49.8% 0.103 99.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #524EC4

    #524EC4

    oklch(49.7% 0.179 279.2)

  • #0065AC

    #0065AC

    oklch(49.7% 0.137 249)

  • #803BAD

    #803BAD

    oklch(49.7% 0.178 309.2)

Open the analogous palette in the generator

Split complementary

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

  • #524EC4

    #524EC4

    oklch(49.7% 0.179 279.2)

  • #895500

    #895500

    oklch(49.7% 0.108 69.3)

  • #4A7000

    #4A7000

    oklch(49.7% 0.132 129.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #524EC4

    #524EC4

    oklch(49.7% 0.179 279.2)

  • #A93600

    #A93600

    oklch(49.7% 0.159 39)

  • #00754A

    #00754A

    oklch(49.6% 0.114 159.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #524EC4

    #524EC4

    oklch(49.7% 0.179 279.2)

  • #AF1F4C

    #AF1F4C

    oklch(49.7% 0.179 9.3)

  • #716300

    #716300

    oklch(49.8% 0.103 99.6)

  • #00726D

    #00726D

    oklch(49.8% 0.086 189.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #524EC4 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.