#5168FB
Closest named color: Neon Blue (#4361EE). oklch(58.6% 0.219 271.2), rgb(81, 104, 251).
Aa
Black text reads best on this color (4.72:1).
About this color
#5168FB is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.219 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Neon Blue (#4361EE), ΔE 0.031 away. Black text reads best on it, at 4.72:1.
| Hue family | Blues |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.219) |
| Temperature | cool |
| Nearest name | Neon Blue (#4361EE) |
| Black text | 4.72:1 |
| White text | 4.44:1 |
Values
| HEX | #5168FB |
| RGB | rgb(81, 104, 251) |
| HSL | hsl(232, 96%, 65%) |
| OKLCH | oklch(58.6% 0.219 271.2) |
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 #5168FB | 4.44:1 | AA large text | Lc -75.8 | Fine for body text |
| Black text on #5168FB | 4.72:1 | AA | Lc 33.8 | Non-text elements, placeholder text |
| #5168FB text on white | 4.44:1 | AA large text | Lc 70.3 | Content text, not long reading |
| #5168FB text on black | 4.72:1 | AA | Lc -31.3 | Non-text elements, placeholder text |
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
#F2F5FF
oklch(97.1% 0.014 272.7)
-
Step 100
100
#E3E9FE
oklch(93.6% 0.029 273.1)
-
Step 200
200
#CCD8FE
oklch(88.5% 0.054 271.5)
-
Step 300
300
#AABEFF
oklch(81% 0.095 271)
-
Step 400
400
#7E99FF
oklch(70.7% 0.152 270.9)
-
Step 500
500
#607BFF
oklch(63.2% 0.197 271)
-
Step 600
600 (this color)
#5168FB
oklch(58.6% 0.219 271.2)
-
Step 700
700
#3C4CD1
oklch(49% 0.203 271.3)
-
Step 800
800
#3140A9
oklch(42.8% 0.168 271.1)
-
Step 900
900
#2A3886
oklch(37.8% 0.131 271.1)
-
Step 950
950
#18214E
oklch(26.8% 0.083 271.2)
#5168FB 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) | #007FFF | 0.062 |
| Deuteranopia (no green cones) | #0070F8 | 0.049 |
| Tritanopia (no blue cones) | #008DA8 | 0.178 |
| Achromatopsia (no color) | #787878 | 0.219 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5168FB
#5168FB
oklch(58.6% 0.219 271.2)
- #967800
#967800
oklch(58.5% 0.12 91.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 #5168FB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Neon Blue #4361EE ΔE 0.031
- Royal Blue #4169E1 ΔE 0.044
- Clear Blue #247AFD ΔE 0.049
- Cerulean Blue #056EEE ΔE 0.053
- Bright Blue #0165FC ΔE 0.053
- Cornflower #6A79F7 ΔE 0.055
- Medium Slate Blue #7B68EE ΔE 0.060
- Azul #1D5DEC ΔE 0.061
Use #5168FB 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.