#5851FF
Closest named color: Neon Blue (#4361EE). oklch(55.6% 0.248 276.5), rgb(88, 81, 255).
Aa
White text reads best on this color (5.20:1).
About this color
#5851FF is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.248 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Neon Blue (#4361EE), ΔE 0.045 away. White text reads best on it, at 5.20:1.
| Hue family | Blues |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.248) |
| Temperature | cool |
| Nearest name | Neon Blue (#4361EE) |
| Black text | 4.03:1 |
| White text | 5.20:1 |
Values
| HEX | #5851FF |
| RGB | rgb(88, 81, 255) |
| HSL | hsl(242, 100%, 66%) |
| OKLCH | oklch(55.6% 0.248 276.5) |
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 #5851FF | 5.20:1 | AA | Lc -80.4 | Fine for body text |
| Black text on #5851FF | 4.03:1 | AA large text | Lc 29.1 | Dividers and decoration only |
| #5851FF text on white | 5.20:1 | AA | Lc 75.0 | Content text, not long reading |
| #5851FF text on black | 4.03:1 | AA large text | Lc -26.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.
-
Step 50
50
#F3F5FF
oklch(97.2% 0.013 277.1)
-
Step 100
100
#E4E9FF
oklch(93.7% 0.03 275.6)
-
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)
#5851FF
oklch(55.6% 0.248 276.5)
-
Step 700
700
#493FDE
oklch(49% 0.23 276.5)
-
Step 800
800
#3B36B4
oklch(42.7% 0.191 276.3)
-
Step 900
900
#31328E
oklch(37.8% 0.148 276.2)
-
Step 950
950
#1C1E53
oklch(26.9% 0.095 276.3)
#5851FF 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) | #0074FF | 0.084 |
| Deuteranopia (no green cones) | #0065FC | 0.067 |
| Tritanopia (no blue cones) | #0080A2 | 0.200 |
| Achromatopsia (no color) | #6D6D6D | 0.249 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5851FF
#5851FF
oklch(55.6% 0.248 276.5)
- #877200
#877200
oklch(55.5% 0.114 96.2)
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 #5851FF, closest first.
No curated palette has a color within ΔE 0.04 of #5851FF.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Neon Blue #4361EE ΔE 0.045
- Warm Blue #4B57DB ΔE 0.058
- Purpley Blue #5F34E7 ΔE 0.063
- Azul #1D5DEC ΔE 0.064
- Electric Blue #0652FF ΔE 0.067
- Bright Blue #0165FC ΔE 0.067
- Royal Blue #4169E1 ΔE 0.071
- Burple #6832E3 ΔE 0.072
Use #5851FF 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.