#5271FF
Closest named color: Clear Blue (#247AFD). oklch(60.6% 0.213 269.6), rgb(82, 113, 255).
Aa
Black text reads best on this color (5.16:1).
About this color
#5271FF is a medium-dark, vivid blue. In OKLCH its lightness is 61%, its chroma 0.213 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.16:1.
| Hue family | Blues |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.213) |
| Temperature | cool |
| Nearest name | Clear Blue (#247AFD) |
| Black text | 5.16:1 |
| White text | 4.06:1 |
Values
| HEX | #5271FF |
| RGB | rgb(82, 113, 255) |
| HSL | hsl(229, 100%, 66%) |
| OKLCH | oklch(60.6% 0.213 269.6) |
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 #5271FF | 4.06:1 | AA large text | Lc -72.9 | Content text, not long reading |
| Black text on #5271FF | 5.16:1 | AA | Lc 36.7 | Non-text elements, placeholder text |
| #5271FF text on white | 4.06:1 | AA large text | Lc 67.4 | Content text, not long reading |
| #5271FF text on black | 5.16:1 | AA | Lc -34.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 500.
-
Step 50
50
#F2F5FF
oklch(97.1% 0.014 272.7)
-
Step 100
100
#E2E9FF
oklch(93.5% 0.031 271.7)
-
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)
#5271FF
oklch(60.6% 0.213 269.6)
-
Step 600
600
#425DF8
oklch(55.7% 0.232 269.5)
-
Step 700
700
#354BD8
oklch(49.2% 0.215 269.5)
-
Step 800
800
#2C3FAE
oklch(42.8% 0.177 269.6)
-
Step 900
900
#26378A
oklch(37.7% 0.139 269.6)
-
Step 950
950
#162151
oklch(27% 0.089 269.8)
#5271FF 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) | #0086FF | 0.059 |
| Deuteranopia (no green cones) | #0076FC | 0.046 |
| Tritanopia (no blue cones) | #0094AD | 0.174 |
| Achromatopsia (no color) | #7E7E7E | 0.214 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5271FF
#5271FF
oklch(60.6% 0.213 269.6)
- #9F7D00
#9F7D00
oklch(60.5% 0.124 89.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 #5271FF, closest first.
No curated palette has a color within ΔE 0.04 of #5271FF.
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.039
- Neon Blue #4361EE ΔE 0.050
- Royal Blue #4169E1 ΔE 0.053
- Cerulean Blue #056EEE ΔE 0.058
- Medium Slate Blue #7B68EE ΔE 0.059
- Bright Blue #0165FC ΔE 0.063
- Soft Blue #6488EA ΔE 0.074
Use #5271FF 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.