#5147CB

Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(49% 0.196 279.7), rgb(81, 71, 203).

Aa

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

About this color

#5147CB is a medium-dark, vivid blue. In OKLCH its lightness is 49%, its chroma 0.196 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.023 away. White text reads best on it, at 6.74:1.

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

Values

HEX#5147CB
RGBrgb(81, 71, 203)
HSLhsl(245, 56%, 54%)
OKLCHoklch(49% 0.196 279.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 #5147CB 6.74:1 AA Lc -87.7 Fine for body text
Black text on #5147CB 3.11:1 AA large text Lc 21.4 Dividers and decoration only
#5147CB text on white 6.74:1 AA Lc 82.7 Fine for body text
#5147CB text on black 3.11:1 AA large text Lc -19.2 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

    #D1D6FC

    oklch(88.4% 0.053 279.4)

  4. Step 300

    300

    #B4BAFE

    oklch(80.9% 0.096 280.1)

  5. Step 400

    400

    #8F94FD

    oklch(70.8% 0.152 279.7)

  6. Step 500

    500

    #7675FB

    oklch(63.2% 0.194 279.6)

  7. Step 600

    600

    #6159EA

    oklch(55.7% 0.211 279.5)

  8. Step 700

    700 (this color)

    #5147CB

    oklch(49% 0.196 279.7)

  9. Step 800

    800

    #423CA4

    oklch(42.7% 0.162 279.6)

  10. Step 900

    900

    #373582

    oklch(37.8% 0.126 279.7)

  11. Step 950

    950

    #20204C

    oklch(27.1% 0.079 279.7)

Export this scale for Tailwind in the Tailwind colors tool

#5147CB 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)#0060CF0.076
Deuteranopia (no green cones)#0056C80.069
Tritanopia (no blue cones)#0069830.166
Achromatopsia (no color)#5B5B5B0.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #5147CB

    #5147CB

    oklch(49% 0.196 279.7)

  • #6F6100

    #6F6100

    oklch(49.1% 0.102 99.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5147CB

    #5147CB

    oklch(49% 0.196 279.7)

  • #0063AA

    #0063AA

    oklch(49.1% 0.137 249.4)

  • #8231B1

    #8231B1

    oklch(49.1% 0.196 309.9)

Open the analogous palette in the generator

Split complementary

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

  • #5147CB

    #5147CB

    oklch(49% 0.196 279.7)

  • #865400

    #865400

    oklch(49.1% 0.106 70.2)

  • #476E00

    #476E00

    oklch(49% 0.131 129.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5147CB

    #5147CB

    oklch(49% 0.196 279.7)

  • #A53600

    #A53600

    oklch(49% 0.155 39.6)

  • #00734A

    #00734A

    oklch(49% 0.111 160)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5147CB

    #5147CB

    oklch(49% 0.196 279.7)

  • #B30047

    #B30047

    oklch(49% 0.196 9.8)

  • #6F6100

    #6F6100

    oklch(49.1% 0.102 99.4)

  • #00706B

    #00706B

    oklch(49.2% 0.085 189.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5147CB 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.