#5B5BF6
Closest named color: Neon Blue (#4361EE). oklch(56.6% 0.225 276.4), rgb(91, 91, 246).
Aa
White text reads best on this color (4.91:1).
About this color
#5B5BF6 is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.225 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Neon Blue (#4361EE), ΔE 0.032 away. White text reads best on it, at 4.91:1.
| Hue family | Blues |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.225) |
| Temperature | cool |
| Nearest name | Neon Blue (#4361EE) |
| Black text | 4.27:1 |
| White text | 4.91:1 |
Values
| HEX | #5B5BF6 |
| RGB | rgb(91, 91, 246) |
| HSL | hsl(240, 90%, 66%) |
| OKLCH | oklch(56.6% 0.225 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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #5B5BF6 | 4.91:1 | AA | Lc -78.9 | Fine for body text |
| Black text on #5B5BF6 | 4.27:1 | AA large text | Lc 30.6 | Non-text elements, placeholder text |
| #5B5BF6 text on white | 4.91:1 | AA | Lc 73.5 | Content text, not long reading |
| #5B5BF6 text on black | 4.27:1 | AA large text | Lc -28.2 | 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.
-
Step 50
50
#F3F5FF
oklch(97.2% 0.013 277.1)
-
Step 100
100
#E4E9FE
oklch(93.7% 0.029 275.2)
-
Step 200
200
#CFD7FF
oklch(88.6% 0.056 276.3)
-
Step 300
300
#B0BBFF
oklch(80.8% 0.097 276.9)
-
Step 400
400
#8895FF
oklch(70.6% 0.155 276.4)
-
Step 500
500
#6E76FF
oklch(63.1% 0.2 276.5)
-
Step 600
600 (this color)
#5B5BF6
oklch(56.6% 0.225 276.4)
-
Step 700
700
#4946D3
oklch(49% 0.209 276.3)
-
Step 800
800
#3C3BAB
oklch(42.7% 0.174 276.5)
-
Step 900
900
#323587
oklch(37.8% 0.134 276.3)
-
Step 950
950
#1D204F
oklch(27.1% 0.085 276.4)
#5B5BF6 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #0077FB | 0.078 |
| Deuteranopia (no green cones) | #006AF3 | 0.067 |
| Tritanopia (no blue cones) | #0083A0 | 0.188 |
| Achromatopsia (no color) | #717171 | 0.226 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5B5BF6
#5B5BF6
oklch(56.6% 0.225 276.4)
- #8A7500
#8A7500
oklch(56.5% 0.116 96.5)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #5B5BF6, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Neon Blue #4361EE ΔE 0.032
- Warm Blue #4B57DB ΔE 0.048
- Royal Blue #4169E1 ΔE 0.052
- Dark Periwinkle #665FD1 ΔE 0.060
- Medium Slate Blue #7B68EE ΔE 0.060
- Azul #1D5DEC ΔE 0.062
- Bright Blue #0165FC ΔE 0.065
- Light Indigo #6D5ACF ΔE 0.065
Use #5B5BF6 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.