#5A5AEF
Closest named color: Neon Blue (#4361EE). oklch(55.8% 0.218 276.7), rgb(90, 90, 239).
Aa
White text reads best on this color (5.06:1).
About this color
#5A5AEF is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.218 and its hue 277°. 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 5.06:1.
| Hue family | Blues |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.218) |
| Temperature | cool |
| Nearest name | Neon Blue (#4361EE) |
| Black text | 4.14:1 |
| White text | 5.06:1 |
Values
| HEX | #5A5AEF |
| RGB | rgb(90, 90, 239) |
| HSL | hsl(240, 82%, 65%) |
| OKLCH | oklch(55.8% 0.218 276.7) |
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 #5A5AEF | 5.06:1 | AA | Lc -79.8 | Fine for body text |
| Black text on #5A5AEF | 4.14:1 | AA large text | Lc 29.6 | Dividers and decoration only |
| #5A5AEF text on white | 5.06:1 | AA | Lc 74.4 | Content text, not long reading |
| #5A5AEF text on black | 4.14:1 | AA large text | Lc -27.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.
-
Step 50
50
#F3F5FF
oklch(97.2% 0.013 277.1)
-
Step 100
100
#E4E9FD
oklch(93.6% 0.028 274.7)
-
Step 200
200
#CFD7FE
oklch(88.6% 0.054 276.1)
-
Step 300
300
#B0BBFF
oklch(80.8% 0.097 276.9)
-
Step 400
400
#8995FF
oklch(70.7% 0.154 276.8)
-
Step 500
500
#6E76FF
oklch(63.1% 0.2 276.5)
-
Step 600
600 (this color)
#5A5AEF
oklch(55.8% 0.218 276.7)
-
Step 700
700
#4A48D0
oklch(49.1% 0.203 276.5)
-
Step 800
800
#3C3CA8
oklch(42.6% 0.169 276.5)
-
Step 900
900
#333585
oklch(37.7% 0.131 277)
-
Step 950
950
#1D204E
oklch(27% 0.083 276.5)
#5A5AEF 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) | #0075F4 | 0.077 |
| Deuteranopia (no green cones) | #0068EC | 0.066 |
| Tritanopia (no blue cones) | #00809C | 0.182 |
| Achromatopsia (no color) | #6E6E6E | 0.219 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5A5AEF
#5A5AEF
oklch(55.8% 0.218 276.7)
- #877300
#877300
oklch(55.8% 0.115 97)
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 #5A5AEF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Neon Blue #4361EE ΔE 0.029
- Warm Blue #4B57DB ΔE 0.038
- Royal Blue #4169E1 ΔE 0.047
- Dark Periwinkle #665FD1 ΔE 0.051
- Light Indigo #6D5ACF ΔE 0.056
- Slate Blue #6A5ACD ΔE 0.057
- Azul #1D5DEC ΔE 0.058
- Medium Slate Blue #7B68EE ΔE 0.061
Use #5A5AEF 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.