#5170FC
Closest named color: Clear Blue (#247AFD). oklch(60.1% 0.211 269.5), rgb(81, 112, 252).
Aa
Black text reads best on this color (5.07:1).
About this color
#5170FC is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.211 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Clear Blue (#247AFD), ΔE 0.038 away. Black text reads best on it, at 5.07:1.
| Hue family | Blues |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.211) |
| Temperature | cool |
| Nearest name | Clear Blue (#247AFD) |
| Black text | 5.07:1 |
| White text | 4.13:1 |
Values
| HEX | #5170FC |
| RGB | rgb(81, 112, 252) |
| HSL | hsl(229, 97%, 65%) |
| OKLCH | oklch(60.1% 0.211 269.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 #5170FC | 4.13:1 | AA large text | Lc -73.5 | Content text, not long reading |
| Black text on #5170FC | 5.07:1 | AA | Lc 36.1 | Non-text elements, placeholder text |
| #5170FC text on white | 4.13:1 | AA large text | Lc 68.0 | Content text, not long reading |
| #5170FC text on black | 5.07:1 | AA | Lc -33.7 | 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 500.
-
Step 50
50
#F2F5FF
oklch(97.1% 0.014 272.7)
-
Step 100
100
#E2EAFF
oklch(93.7% 0.03 269.1)
-
Step 200
200
#CAD8FF
oklch(88.4% 0.056 269.7)
-
Step 300
300
#A8BEFF
oklch(80.9% 0.096 269.8)
-
Step 400
400
#7B9AFF
oklch(70.8% 0.152 269.4)
-
Step 500
500 (this color)
#5170FC
oklch(60.1% 0.211 269.5)
-
Step 600
600
#435DF6
oklch(55.5% 0.229 269.7)
-
Step 700
700
#354BD7
oklch(49.1% 0.214 269.5)
-
Step 800
800
#2C3FAD
oklch(42.7% 0.176 269.6)
-
Step 900
900
#263789
oklch(37.6% 0.138 269.6)
-
Step 950
950
#162150
oklch(26.9% 0.087 269.7)
#5170FC 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) | #0085FF | 0.059 |
| Deuteranopia (no green cones) | #0075F9 | 0.046 |
| Tritanopia (no blue cones) | #0092AB | 0.171 |
| Achromatopsia (no color) | #7D7D7D | 0.211 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5170FC
#5170FC
oklch(60.1% 0.211 269.5)
- #9D7C00
#9D7C00
oklch(60.1% 0.123 90)
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 #5170FC, closest first.
No curated palette has a color within ΔE 0.04 of #5170FC.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Clear Blue #247AFD ΔE 0.038
- Cornflower #6A79F7 ΔE 0.040
- Neon Blue #4361EE ΔE 0.045
- Royal Blue #4169E1 ΔE 0.048
- Cerulean Blue #056EEE ΔE 0.054
- Medium Slate Blue #7B68EE ΔE 0.059
- Bright Blue #0165FC ΔE 0.061
- Azul #1D5DEC ΔE 0.073
Use #5170FC 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.