#5A64E5

Closest named color: Royal Blue (#4169E1). oklch(56.7% 0.193 275.1), rgb(90, 100, 229).

Aa

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

About this color

#5A64E5 is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.193 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.030 away. White text reads best on it, at 4.78:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.193)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.38:1
White text4.78:1

Values

HEX#5A64E5
RGBrgb(90, 100, 229)
HSLhsl(236, 73%, 63%)
OKLCHoklch(56.7% 0.193 275.1)

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 #5A64E5 4.78:1 AA Lc -78.2 Fine for body text
Black text on #5A64E5 4.38:1 AA large text Lc 31.3 Non-text elements, placeholder text
#5A64E5 text on white 4.78:1 AA Lc 72.8 Content text, not long reading
#5A64E5 text on black 4.38:1 AA large text Lc -28.9 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 600.

  1. Step 50

    50

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E9FB

    oklch(93.6% 0.025 275.9)

  3. Step 200

    200

    #CFD7FA

    oklch(88.4% 0.049 275.2)

  4. Step 300

    300

    #B0BDF9

    oklch(81% 0.086 274.8)

  5. Step 400

    400

    #8898F6

    oklch(70.7% 0.138 275)

  6. Step 500

    500

    #6D7BF3

    oklch(63.1% 0.178 275.1)

  7. Step 600

    600 (this color)

    #5A64E5

    oklch(56.7% 0.193 275.1)

  8. Step 700

    700

    #484FC4

    oklch(49.2% 0.18 275)

  9. Step 800

    800

    #3B419E

    oklch(42.6% 0.149 275.3)

  10. Step 900

    900

    #32397E

    oklch(37.9% 0.116 275.1)

  11. Step 950

    950

    #1D224A

    oklch(27.1% 0.074 275)

Export this scale for Tailwind in the Tailwind colors tool

#5A64E5 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)#0079E90.070
Deuteranopia (no green cones)#006DE20.063
Tritanopia (no blue cones)#00839B0.164
Achromatopsia (no color)#7272720.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A64E5

    #5A64E5

    oklch(56.7% 0.193 275.1)

  • #8C7500

    #8C7500

    oklch(56.7% 0.117 95.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A64E5

    #5A64E5

    oklch(56.7% 0.193 275.1)

  • #007CC4

    #007CC4

    oklch(56.7% 0.143 245.1)

  • #924FCF

    #924FCF

    oklch(56.7% 0.193 305.2)

Open the analogous palette in the generator

Split complementary

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

  • #5A64E5

    #5A64E5

    oklch(56.7% 0.193 275.1)

  • #A86400

    #A86400

    oklch(56.7% 0.127 65.3)

  • #638400

    #638400

    oklch(56.7% 0.143 125.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A64E5

    #5A64E5

    oklch(56.7% 0.193 275.1)

  • #CF390C

    #CF390C

    oklch(56.7% 0.193 35)

  • #008E50

    #008E50

    oklch(56.8% 0.141 154.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A64E5

    #5A64E5

    oklch(56.7% 0.193 275.1)

  • #CB3167

    #CB3167

    oklch(56.6% 0.192 5)

  • #8C7500

    #8C7500

    oklch(56.7% 0.117 95.3)

  • #00897E

    #00897E

    oklch(56.7% 0.1 185)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5A64E5 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.