#5B5CF4

Closest named color: Neon Blue (#4361EE). oklch(56.6% 0.222 276.4), rgb(91, 92, 244).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.222)
Temperaturecool
Nearest nameNeon Blue (#4361EE)
Black text4.28:1
White text4.90:1

Values

HEX#5B5CF4
RGBrgb(91, 92, 244)
HSLhsl(240, 87%, 66%)
OKLCHoklch(56.6% 0.222 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 #5B5CF4 4.90:1 AA Lc -78.8 Fine for body text
Black text on #5B5CF4 4.28:1 AA large text Lc 30.7 Non-text elements, placeholder text
#5B5CF4 text on white 4.90:1 AA Lc 73.4 Content text, not long reading
#5B5CF4 text on black 4.28:1 AA large text Lc -28.3 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

    #B0BBFF

    oklch(80.8% 0.097 276.9)

  5. Step 400

    400

    #8895FF

    oklch(70.6% 0.155 276.4)

  6. Step 500

    500

    #6E76FF

    oklch(63.1% 0.2 276.5)

  7. Step 600

    600 (this color)

    #5B5CF4

    oklch(56.6% 0.222 276.4)

  8. Step 700

    700

    #4947D2

    oklch(49.1% 0.207 276.2)

  9. Step 800

    800

    #3C3CA9

    oklch(42.7% 0.17 276.5)

  10. Step 900

    900

    #323586

    oklch(37.7% 0.133 276.4)

  11. Step 950

    950

    #1D204E

    oklch(27% 0.083 276.5)

Export this scale for Tailwind in the Tailwind colors tool

#5B5CF4 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)#0077F90.077
Deuteranopia (no green cones)#006AF10.066
Tritanopia (no blue cones)#0082A00.183
Achromatopsia (no color)#7171710.222

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B5CF4

    #5B5CF4

    oklch(56.6% 0.222 276.4)

  • #8A7500

    #8A7500

    oklch(56.5% 0.116 96.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B5CF4

    #5B5CF4

    oklch(56.6% 0.222 276.4)

  • #007BC6

    #007BC6

    oklch(56.6% 0.146 246.3)

  • #9842D9

    #9842D9

    oklch(56.5% 0.222 306.6)

Open the analogous palette in the generator

Split complementary

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

  • #5B5CF4

    #5B5CF4

    oklch(56.6% 0.222 276.4)

  • #A76500

    #A76500

    oklch(56.7% 0.126 66.5)

  • #608400

    #608400

    oklch(56.5% 0.144 126.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B5CF4

    #5B5CF4

    oklch(56.6% 0.222 276.4)

  • #CE3A00

    #CE3A00

    oklch(56.6% 0.192 36.4)

  • #008D53

    #008D53

    oklch(56.6% 0.137 156.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B5CF4

    #5B5CF4

    oklch(56.6% 0.222 276.4)

  • #D60F61

    #D60F61

    oklch(56.6% 0.222 6.4)

  • #8A7500

    #8A7500

    oklch(56.5% 0.116 96.5)

  • #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 #5B5CF4, closest first.

Similar named colors

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

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