#524ED4

Closest named color: Warm Blue (#4B57DB). oklch(51% 0.199 278), rgb(82, 78, 212).

Aa

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

About this color

#524ED4 is a medium-dark, vivid blue. In OKLCH its lightness is 51%, its chroma 0.199 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Warm Blue (#4B57DB), ΔE 0.023 away. White text reads best on it, at 6.17:1.

Hue familyBlues
Lightnessmedium-dark (51%)
Chromavivid (0.199)
Temperaturecool
Nearest nameWarm Blue (#4B57DB)
Black text3.39:1
White text6.17:1

Values

HEX#524ED4
RGBrgb(82, 78, 212)
HSLhsl(242, 61%, 57%)
OKLCHoklch(51% 0.199 278)

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 #524ED4 6.17:1 AA Lc -85.5 Fine for body text
Black text on #524ED4 3.39:1 AA large text Lc 23.8 Dividers and decoration only
#524ED4 text on white 6.17:1 AA Lc 80.3 Fine for body text
#524ED4 text on black 3.39:1 AA large text Lc -21.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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E9FD

    oklch(93.7% 0.027 276.8)

  3. Step 200

    200

    #D0D6FD

    oklch(88.4% 0.054 278.3)

  4. Step 300

    300

    #B2BBFF

    oklch(81% 0.097 278.2)

  5. Step 400

    400

    #8B94FF

    oklch(70.6% 0.155 278)

  6. Step 500

    500

    #7275FD

    oklch(63.1% 0.198 278.1)

  7. Step 600

    600

    #5D59EC

    oklch(55.6% 0.215 278)

  8. Step 700

    700 (this color)

    #524ED4

    oklch(51% 0.199 278)

  9. Step 800

    800

    #3F3CA6

    oklch(42.7% 0.165 278)

  10. Step 900

    900

    #353584

    oklch(37.8% 0.129 278.2)

  11. Step 950

    950

    #1E204D

    oklch(27% 0.081 277.5)

Export this scale for Tailwind in the Tailwind colors tool

#524ED4 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)#0067D80.074
Deuteranopia (no green cones)#005CD10.065
Tritanopia (no blue cones)#00708A0.168
Achromatopsia (no color)#6161610.200

Harmonies

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

Complementary

The opposite hue (180°).

  • #524ED4

    #524ED4

    oklch(51% 0.199 278)

  • #766600

    #766600

    oklch(51% 0.106 98.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #524ED4

    #524ED4

    oklch(51% 0.199 278)

  • #0069B0

    #0069B0

    oklch(50.9% 0.138 248.3)

  • #8638BB

    #8638BB

    oklch(51.1% 0.199 308.1)

Open the analogous palette in the generator

Split complementary

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

  • #524ED4

    #524ED4

    oklch(51% 0.199 278)

  • #8F5800

    #8F5800

    oklch(51% 0.112 68.5)

  • #507300

    #507300

    oklch(50.9% 0.133 127.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #524ED4

    #524ED4

    oklch(51% 0.199 278)

  • #B13600

    #B13600

    oklch(51.1% 0.167 38)

  • #007A4B

    #007A4B

    oklch(51% 0.119 158.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #524ED4

    #524ED4

    oklch(51% 0.199 278)

  • #BB0C50

    #BB0C50

    oklch(51.1% 0.2 8.1)

  • #766600

    #766600

    oklch(51% 0.106 98.4)

  • #00766F

    #00766F

    oklch(51% 0.089 187.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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