#5342BF

Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(47.4% 0.187 282.8), rgb(83, 66, 191).

Aa

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

About this color

#5342BF is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.187 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Blue With A Hint Of Purple (#533CC6), ΔE 0.016 away. White text reads best on it, at 7.24:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.187)
Temperaturecool
Nearest nameBlue With A Hint Of Purple (#533CC6)
Black text2.89:1
White text7.24:1

Values

HEX#5342BF
RGBrgb(83, 66, 191)
HSLhsl(248, 49%, 50%)
OKLCHoklch(47.4% 0.187 282.8)

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 #5342BF 7.24:1 AAA Lc -89.5 Fine for body text
Black text on #5342BF 2.89:1 Fails Lc 19.4 Dividers and decoration only
#5342BF text on white 7.24:1 AAA Lc 84.6 Fine for body text
#5342BF text on black 2.89:1 Fails Lc -17.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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E7E8FB

    oklch(93.6% 0.026 283.5)

  3. Step 200

    200

    #D4D6FA

    oklch(88.6% 0.049 282.8)

  4. Step 300

    300

    #B8BAFA

    oklch(81% 0.09 282.8)

  5. Step 400

    400

    #9593F7

    oklch(70.7% 0.144 283)

  6. Step 500

    500

    #7D74F4

    oklch(63.1% 0.186 282.9)

  7. Step 600

    600

    #6859E3

    oklch(55.7% 0.201 282.6)

  8. Step 700

    700 (this color)

    #5342BF

    oklch(47.4% 0.187 282.8)

  9. Step 800

    800

    #473C9F

    oklch(42.7% 0.154 282.7)

  10. Step 900

    900

    #3B357E

    oklch(37.8% 0.119 282.8)

  11. Step 950

    950

    #22204A

    oklch(27.1% 0.076 282.2)

Export this scale for Tailwind in the Tailwind colors tool

#5342BF 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)#005BC30.082
Deuteranopia (no green cones)#0053BD0.077
Tritanopia (no blue cones)#1B617B0.156
Achromatopsia (no color)#5757570.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #5342BF

    #5342BF

    oklch(47.4% 0.187 282.8)

  • #675D00

    #675D00

    oklch(47.3% 0.099 102.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5342BF

    #5342BF

    oklch(47.4% 0.187 282.8)

  • #005CAA

    #005CAA

    oklch(47.4% 0.145 252.7)

  • #7F2EA4

    #7F2EA4

    oklch(47.4% 0.186 312.9)

Open the analogous palette in the generator

Split complementary

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

  • #5342BF

    #5342BF

    oklch(47.4% 0.187 282.8)

  • #7E5100

    #7E5100

    oklch(47.4% 0.101 72.5)

  • #3C6A00

    #3C6A00

    oklch(47.2% 0.133 132.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5342BF

    #5342BF

    oklch(47.4% 0.187 282.8)

  • #993900

    #993900

    oklch(47.4% 0.14 43)

  • #006D4B

    #006D4B

    oklch(47.3% 0.102 163.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5342BF

    #5342BF

    oklch(47.4% 0.187 282.8)

  • #AB053D

    #AB053D

    oklch(47.4% 0.187 12.9)

  • #675D00

    #675D00

    oklch(47.3% 0.099 102.2)

  • #006A68

    #006A68

    oklch(47.4% 0.081 192.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5342BF 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.