#5247CC

Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(49.2% 0.198 280), rgb(82, 71, 204).

Aa

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

About this color

#5247CC is a medium-dark, vivid blue. In OKLCH its lightness is 49%, its chroma 0.198 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Blue With A Hint Of Purple (#533CC6), ΔE 0.024 away. White text reads best on it, at 6.70:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromavivid (0.198)
Temperaturecool
Nearest nameBlue With A Hint Of Purple (#533CC6)
Black text3.13:1
White text6.70:1

Values

HEX#5247CC
RGBrgb(82, 71, 204)
HSLhsl(245, 57%, 54%)
OKLCHoklch(49.2% 0.198 280)

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 #5247CC 6.70:1 AA Lc -87.6 Fine for body text
Black text on #5247CC 3.13:1 AA large text Lc 21.5 Dividers and decoration only
#5247CC text on white 6.70:1 AA Lc 82.5 Fine for body text
#5247CC text on black 3.13:1 AA large text Lc -19.4 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

    #E6E8FD

    oklch(93.6% 0.028 281.5)

  3. Step 200

    200

    #D2D6FC

    oklch(88.5% 0.052 280.5)

  4. Step 300

    300

    #B4BAFE

    oklch(80.9% 0.096 280.1)

  5. Step 400

    400

    #8F93FD

    oklch(70.6% 0.153 280.1)

  6. Step 500

    500

    #7774FB

    oklch(63.1% 0.196 280.2)

  7. Step 600

    600

    #6258EA

    oklch(55.6% 0.212 280)

  8. Step 700

    700 (this color)

    #5247CC

    oklch(49.2% 0.198 280)

  9. Step 800

    800

    #423BA5

    oklch(42.7% 0.165 279.8)

  10. Step 900

    900

    #373482

    oklch(37.6% 0.127 280)

  11. Step 950

    950

    #20204C

    oklch(27.1% 0.079 279.7)

Export this scale for Tailwind in the Tailwind colors tool

#5247CC 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)#0061D00.078
Deuteranopia (no green cones)#0057C90.070
Tritanopia (no blue cones)#0069830.167
Achromatopsia (no color)#5C5C5C0.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #5247CC

    #5247CC

    oklch(49.2% 0.198 280)

  • #6F6200

    #6F6200

    oklch(49.3% 0.103 100.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5247CC

    #5247CC

    oklch(49.2% 0.198 280)

  • #0063AC

    #0063AC

    oklch(49.2% 0.139 250)

  • #8331B2

    #8331B2

    oklch(49.3% 0.197 310.1)

Open the analogous palette in the generator

Split complementary

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

  • #5247CC

    #5247CC

    oklch(49.2% 0.198 280)

  • #875400

    #875400

    oklch(49.2% 0.107 69.6)

  • #476F00

    #476F00

    oklch(49.3% 0.133 130)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5247CC

    #5247CC

    oklch(49.2% 0.198 280)

  • #A53700

    #A53700

    oklch(49.2% 0.154 40)

  • #00744A

    #00744A

    oklch(49.3% 0.112 159.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5247CC

    #5247CC

    oklch(49.2% 0.198 280)

  • #B40047

    #B40047

    oklch(49.2% 0.197 9.9)

  • #6F6200

    #6F6200

    oklch(49.3% 0.103 100.3)

  • #00706C

    #00706C

    oklch(49.2% 0.085 190.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5247CC 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.