#5741BF

Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(47.6% 0.188 284.7), rgb(87, 65, 191).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.188)
Temperaturecool
Nearest nameBlue With A Hint Of Purple (#533CC6)
Black text2.91:1
White text7.20:1

Values

HEX#5741BF
RGBrgb(87, 65, 191)
HSLhsl(250, 50%, 50%)
OKLCHoklch(47.6% 0.188 284.7)

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 #5741BF 7.20:1 AAA Lc -89.4 Fine for body text
Black text on #5741BF 2.91:1 Fails Lc 19.6 Dividers and decoration only
#5741BF text on white 7.20:1 AAA Lc 84.5 Fine for body text
#5741BF text on black 2.91:1 Fails Lc -17.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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E7E8FB

    oklch(93.6% 0.026 283.5)

  3. Step 200

    200

    #D5D5FA

    oklch(88.5% 0.051 285.3)

  4. Step 300

    300

    #BAB9FA

    oklch(81% 0.091 284.9)

  5. Step 400

    400

    #9892F7

    oklch(70.8% 0.145 284.8)

  6. Step 500

    500

    #8173F3

    oklch(63.1% 0.185 284.7)

  7. Step 600

    600

    #6C57E2

    oklch(55.6% 0.202 284.6)

  8. Step 700

    700 (this color)

    #5741BF

    oklch(47.6% 0.188 284.7)

  9. Step 800

    800

    #4A3B9F

    oklch(42.8% 0.155 284.6)

  10. Step 900

    900

    #3D347E

    oklch(37.8% 0.121 284.6)

  11. Step 950

    950

    #231F4A

    oklch(27% 0.077 284.2)

Export this scale for Tailwind in the Tailwind colors tool

#5741BF 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.088
Deuteranopia (no green cones)#0053BD0.083
Tritanopia (no blue cones)#29617A0.158
Achromatopsia (no color)#5757570.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #5741BF

    #5741BF

    oklch(47.6% 0.188 284.7)

  • #665F00

    #665F00

    oklch(47.7% 0.101 104.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5741BF

    #5741BF

    oklch(47.6% 0.188 284.7)

  • #005BB0

    #005BB0

    oklch(47.6% 0.154 254.4)

  • #822DA3

    #822DA3

    oklch(47.6% 0.187 314.7)

Open the analogous palette in the generator

Split complementary

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

  • #5741BF

    #5741BF

    oklch(47.6% 0.188 284.7)

  • #7D5300

    #7D5300

    oklch(47.7% 0.1 75.2)

  • #376C00

    #376C00

    oklch(47.5% 0.138 134.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5741BF

    #5741BF

    oklch(47.6% 0.188 284.7)

  • #983C00

    #983C00

    oklch(47.6% 0.137 44.7)

  • #006E4E

    #006E4E

    oklch(47.7% 0.101 164.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5741BF

    #5741BF

    oklch(47.6% 0.188 284.7)

  • #AC0539

    #AC0539

    oklch(47.5% 0.188 14.7)

  • #665F00

    #665F00

    oklch(47.7% 0.101 104.6)

  • #006A6A

    #006A6A

    oklch(47.5% 0.081 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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