#5A5DF3

Closest named color: Neon Blue (#4361EE). oklch(56.6% 0.219 275.9), rgb(90, 93, 243).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.219)
Temperaturecool
Nearest nameNeon Blue (#4361EE)
Black text4.29:1
White text4.88:1

Values

HEX#5A5DF3
RGBrgb(90, 93, 243)
HSLhsl(239, 86%, 65%)
OKLCHoklch(56.6% 0.219 275.9)

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 #5A5DF3 4.88:1 AA Lc -78.8 Fine for body text
Black text on #5A5DF3 4.29:1 AA large text Lc 30.7 Non-text elements, placeholder text
#5A5DF3 text on white 4.88:1 AA Lc 73.3 Content text, not long reading
#5A5DF3 text on black 4.29:1 AA large text Lc -28.4 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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E4E9FE

    oklch(93.7% 0.029 275.2)

  3. Step 200

    200

    #CFD7FE

    oklch(88.6% 0.054 276.1)

  4. Step 300

    300

    #AFBCFF

    oklch(80.9% 0.096 275.6)

  5. Step 400

    400

    #8796FF

    oklch(70.7% 0.154 275.6)

  6. Step 500

    500

    #6D76FF

    oklch(63% 0.2 276.2)

  7. Step 600

    600 (this color)

    #5A5DF3

    oklch(56.6% 0.219 275.9)

  8. Step 700

    700

    #4848D1

    oklch(49.1% 0.205 275.8)

  9. Step 800

    800

    #3B3CA9

    oklch(42.7% 0.17 276)

  10. Step 900

    900

    #313585

    oklch(37.5% 0.132 275.9)

  11. Step 950

    950

    #1D204E

    oklch(27% 0.083 276.5)

Export this scale for Tailwind in the Tailwind colors tool

#5A5DF3 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)#0078F80.076
Deuteranopia (no green cones)#006AF00.064
Tritanopia (no blue cones)#00839F0.183
Achromatopsia (no color)#7171710.220

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A5DF3

    #5A5DF3

    oklch(56.6% 0.219 275.9)

  • #8B7500

    #8B7500

    oklch(56.6% 0.116 95.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A5DF3

    #5A5DF3

    oklch(56.6% 0.219 275.9)

  • #007BC5

    #007BC5

    oklch(56.5% 0.145 245.9)

  • #9744D9

    #9744D9

    oklch(56.6% 0.219 306)

Open the analogous palette in the generator

Split complementary

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

  • #5A5DF3

    #5A5DF3

    oklch(56.6% 0.219 275.9)

  • #A76400

    #A76400

    oklch(56.5% 0.126 65.8)

  • #618400

    #618400

    oklch(56.6% 0.144 126)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A5DF3

    #5A5DF3

    oklch(56.6% 0.219 275.9)

  • #CF3800

    #CF3800

    oklch(56.6% 0.195 35.8)

  • #008D52

    #008D52

    oklch(56.6% 0.138 155.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A5DF3

    #5A5DF3

    oklch(56.6% 0.219 275.9)

  • #D51462

    #D51462

    oklch(56.6% 0.219 6.1)

  • #8B7500

    #8B7500

    oklch(56.6% 0.116 95.9)

  • #00897F

    #00897F

    oklch(56.7% 0.099 185.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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