#524EC7

Closest named color: Bluey Purple (#6241C7). oklch(49.9% 0.183 279), rgb(82, 78, 199).

Aa

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

About this color

#524EC7 is a medium-dark, vivid blue. In OKLCH its lightness is 50%, its chroma 0.183 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.41:1.

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

Values

HEX#524EC7
RGBrgb(82, 78, 199)
HSLhsl(242, 52%, 54%)
OKLCHoklch(49.9% 0.183 279)

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 #524EC7 6.41:1 AA Lc -86.5 Fine for body text
Black text on #524EC7 3.27:1 AA large text Lc 22.6 Dividers and decoration only
#524EC7 text on white 6.41:1 AA Lc 81.4 Fine for body text
#524EC7 text on black 3.27:1 AA large text Lc -20.5 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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E6E9FB

    oklch(93.7% 0.024 278.4)

  3. Step 200

    200

    #D1D6FA

    oklch(88.4% 0.05 279.1)

  4. Step 300

    300

    #B4BBF9

    oklch(80.9% 0.088 279.2)

  5. Step 400

    400

    #8E95F7

    oklch(70.6% 0.142 279)

  6. Step 500

    500

    #7578F3

    oklch(63.1% 0.18 278.8)

  7. Step 600

    600

    #605DE2

    oklch(55.6% 0.196 278.9)

  8. Step 700

    700 (this color)

    #524EC7

    oklch(49.9% 0.183 279)

  9. Step 800

    800

    #413F9F

    oklch(42.8% 0.151 278.8)

  10. Step 900

    900

    #36377E

    oklch(37.8% 0.117 278.6)

  11. Step 950

    950

    #20214A

    oklch(27.1% 0.074 279.2)

Export this scale for Tailwind in the Tailwind colors tool

#524EC7 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)#0064CB0.073
Deuteranopia (no green cones)#005AC50.067
Tritanopia (no blue cones)#006C830.158
Achromatopsia (no color)#5F5F5F0.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #524EC7

    #524EC7

    oklch(49.9% 0.183 279)

  • #726300

    #726300

    oklch(49.9% 0.103 98.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #524EC7

    #524EC7

    oklch(49.9% 0.183 279)

  • #0066AD

    #0066AD

    oklch(50% 0.137 248.9)

  • #813AB0

    #813AB0

    oklch(49.9% 0.183 308.8)

Open the analogous palette in the generator

Split complementary

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

  • #524EC7

    #524EC7

    oklch(49.9% 0.183 279)

  • #8A5600

    #8A5600

    oklch(50% 0.109 69.6)

  • #4B7100

    #4B7100

    oklch(50.1% 0.133 129.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #524EC7

    #524EC7

    oklch(49.9% 0.183 279)

  • #AA3600

    #AA3600

    oklch(49.9% 0.16 38.9)

  • #00764A

    #00764A

    oklch(49.9% 0.115 158.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #524EC7

    #524EC7

    oklch(49.9% 0.183 279)

  • #B11D4D

    #B11D4D

    oklch(49.9% 0.182 9)

  • #726300

    #726300

    oklch(49.9% 0.103 98.9)

  • #00736D

    #00736D

    oklch(50.1% 0.087 188.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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