#5A5CEE

Closest named color: Neon Blue (#4361EE). oklch(56% 0.214 276.4), rgb(90, 92, 238).

Aa

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

About this color

#5A5CEE is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.214 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Neon Blue (#4361EE), ΔE 0.028 away. White text reads best on it, at 4.99:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.214)
Temperaturecool
Nearest nameNeon Blue (#4361EE)
Black text4.20:1
White text4.99:1

Values

HEX#5A5CEE
RGBrgb(90, 92, 238)
HSLhsl(239, 81%, 64%)
OKLCHoklch(56% 0.214 276.4)

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 #5A5CEE 4.99:1 AA Lc -79.5 Fine for body text
Black text on #5A5CEE 4.20:1 AA large text Lc 30.0 Non-text elements, placeholder text
#5A5CEE text on white 4.99:1 AA Lc 74.0 Content text, not long reading
#5A5CEE text on black 4.20:1 AA large text Lc -27.7 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

    #E4E9FD

    oklch(93.6% 0.028 274.7)

  3. Step 200

    200

    #CFD7FD

    oklch(88.5% 0.053 275.9)

  4. Step 300

    300

    #B0BBFF

    oklch(80.8% 0.097 276.9)

  5. Step 400

    400

    #8895FF

    oklch(70.6% 0.155 276.4)

  6. Step 500

    500

    #6E77FD

    oklch(63.1% 0.196 276.3)

  7. Step 600

    600 (this color)

    #5A5CEE

    oklch(56% 0.214 276.4)

  8. Step 700

    700

    #4A49CE

    oklch(49.1% 0.199 276.5)

  9. Step 800

    800

    #3C3DA6

    oklch(42.6% 0.165 276.4)

  10. Step 900

    900

    #323684

    oklch(37.7% 0.129 276.1)

  11. Step 950

    950

    #1D204D

    oklch(26.9% 0.082 276.5)

Export this scale for Tailwind in the Tailwind colors tool

#5A5CEE 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)#0076F30.076
Deuteranopia (no green cones)#0069EB0.065
Tritanopia (no blue cones)#00819C0.180
Achromatopsia (no color)#6F6F6F0.215

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A5CEE

    #5A5CEE

    oklch(56% 0.214 276.4)

  • #887300

    #887300

    oklch(55.9% 0.115 96.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A5CEE

    #5A5CEE

    oklch(56% 0.214 276.4)

  • #0079C4

    #0079C4

    oklch(56% 0.146 246.6)

  • #9544D4

    #9544D4

    oklch(56% 0.213 306.5)

Open the analogous palette in the generator

Split complementary

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

  • #5A5CEE

    #5A5CEE

    oklch(56% 0.214 276.4)

  • #A46300

    #A46300

    oklch(55.9% 0.124 66.5)

  • #5F8200

    #5F8200

    oklch(55.9% 0.143 126.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A5CEE

    #5A5CEE

    oklch(56% 0.214 276.4)

  • #CB3900

    #CB3900

    oklch(56% 0.19 36.4)

  • #008B52

    #008B52

    oklch(56% 0.135 156.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A5CEE

    #5A5CEE

    oklch(56% 0.214 276.4)

  • #D11860

    #D11860

    oklch(56% 0.214 6.4)

  • #887300

    #887300

    oklch(55.9% 0.115 96.3)

  • #00877D

    #00877D

    oklch(56.1% 0.098 185.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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