#5145CF

Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(49.1% 0.204 279.7), rgb(81, 69, 207).

Aa

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

About this color

#5145CF is a medium-dark, vivid blue. In OKLCH its lightness is 49%, its chroma 0.204 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.76:1.

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

Values

HEX#5145CF
RGBrgb(81, 69, 207)
HSLhsl(245, 59%, 54%)
OKLCHoklch(49.1% 0.204 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 #5145CF 6.76:1 AA Lc -87.8 Fine for body text
Black text on #5145CF 3.10:1 AA large text Lc 21.3 Dividers and decoration only
#5145CF text on white 6.76:1 AA Lc 82.7 Fine for body text
#5145CF text on black 3.10: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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E5E8FD

    oklch(93.5% 0.029 279.4)

  3. Step 200

    200

    #D1D6FE

    oklch(88.5% 0.055 279.6)

  4. Step 300

    300

    #B3BAFF

    oklch(80.8% 0.098 279.5)

  5. Step 400

    400

    #8E93FF

    oklch(70.6% 0.156 279.6)

  6. Step 500

    500

    #7673FF

    oklch(63.1% 0.202 279.9)

  7. Step 600

    600

    #6156EE

    oklch(55.5% 0.22 279.7)

  8. Step 700

    700 (this color)

    #5145CF

    oklch(49.1% 0.204 279.7)

  9. Step 800

    800

    #423AA7

    oklch(42.7% 0.168 279.8)

  10. Step 900

    900

    #373485

    oklch(37.8% 0.132 279.7)

  11. Step 950

    950

    #201F4E

    oklch(27% 0.084 280.1)

Export this scale for Tailwind in the Tailwind colors tool

#5145CF 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)#0060D30.078
Deuteranopia (no green cones)#0056CC0.070
Tritanopia (no blue cones)#0069840.171
Achromatopsia (no color)#5B5B5B0.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #5145CF

    #5145CF

    oklch(49.1% 0.204 279.7)

  • #6F6100

    #6F6100

    oklch(49.1% 0.102 99.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5145CF

    #5145CF

    oklch(49.1% 0.204 279.7)

  • #0063AA

    #0063AA

    oklch(49.1% 0.137 249.4)

  • #832DB4

    #832DB4

    oklch(49% 0.204 309.8)

Open the analogous palette in the generator

Split complementary

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

  • #5145CF

    #5145CF

    oklch(49.1% 0.204 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.

  • #5145CF

    #5145CF

    oklch(49.1% 0.204 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.

  • #5145CF

    #5145CF

    oklch(49.1% 0.204 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 #5145CF, closest first.

No curated palette has a color within ΔE 0.04 of #5145CF.

Similar named colors

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

Use #5145CF 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.