#5B5AF6

Closest named color: Neon Blue (#4361EE). oklch(56.4% 0.226 276.6), rgb(91, 90, 246).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.226)
Temperaturecool
Nearest nameNeon Blue (#4361EE)
Black text4.23:1
White text4.95:1

Values

HEX#5B5AF6
RGBrgb(91, 90, 246)
HSLhsl(240, 90%, 66%)
OKLCHoklch(56.4% 0.226 276.6)

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 #5B5AF6 4.95:1 AA Lc -79.1 Fine for body text
Black text on #5B5AF6 4.23:1 AA large text Lc 30.4 Non-text elements, placeholder text
#5B5AF6 text on white 4.95:1 AA Lc 73.7 Content text, not long reading
#5B5AF6 text on black 4.23:1 AA large text Lc -28.0 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

    #CFD7FF

    oklch(88.6% 0.056 276.3)

  4. Step 300

    300

    #B0BBFF

    oklch(80.8% 0.097 276.9)

  5. Step 400

    400

    #8995FF

    oklch(70.7% 0.154 276.8)

  6. Step 500

    500

    #6E76FF

    oklch(63.1% 0.2 276.5)

  7. Step 600

    600 (this color)

    #5B5AF6

    oklch(56.4% 0.226 276.6)

  8. Step 700

    700

    #4A46D4

    oklch(49.2% 0.21 276.6)

  9. Step 800

    800

    #3C3BAB

    oklch(42.7% 0.174 276.5)

  10. Step 900

    900

    #323487

    oklch(37.6% 0.136 276.6)

  11. Step 950

    950

    #1D204F

    oklch(27.1% 0.085 276.4)

Export this scale for Tailwind in the Tailwind colors tool

#5B5AF6 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)#0077FB0.079
Deuteranopia (no green cones)#0069F30.067
Tritanopia (no blue cones)#0082A00.187
Achromatopsia (no color)#7070700.227

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B5AF6

    #5B5AF6

    oklch(56.4% 0.226 276.6)

  • #8A7500

    #8A7500

    oklch(56.5% 0.116 96.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B5AF6

    #5B5AF6

    oklch(56.4% 0.226 276.6)

  • #007AC6

    #007AC6

    oklch(56.3% 0.147 246.8)

  • #983FDB

    #983FDB

    oklch(56.3% 0.227 306.4)

Open the analogous palette in the generator

Split complementary

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

  • #5B5AF6

    #5B5AF6

    oklch(56.4% 0.226 276.6)

  • #A66400

    #A66400

    oklch(56.4% 0.125 66.2)

  • #5F8400

    #5F8400

    oklch(56.4% 0.145 126.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B5AF6

    #5B5AF6

    oklch(56.4% 0.226 276.6)

  • #CD3A00

    #CD3A00

    oklch(56.4% 0.191 36.5)

  • #008C53

    #008C53

    oklch(56.3% 0.135 156.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B5AF6

    #5B5AF6

    oklch(56.4% 0.226 276.6)

  • #D70060

    #D70060

    oklch(56.4% 0.226 6.5)

  • #8A7500

    #8A7500

    oklch(56.5% 0.116 96.5)

  • #00887F

    #00887F

    oklch(56.4% 0.099 186.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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