#5271BA
Closest named color: Windows Blue (#3778BF). oklch(55.9% 0.119 265.4), rgb(82, 113, 186).
Aa
White text reads best on this color (4.74:1).
About this color
#5271BA is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.119 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.029 away. White text reads best on it, at 4.74:1.
| Hue family | Blues |
| Lightness | medium-dark (56%) |
| Chroma | moderately saturated (0.119) |
| Temperature | cool |
| Nearest name | Windows Blue (#3778BF) |
| Black text | 4.42:1 |
| White text | 4.74:1 |
Values
| HEX | #5271BA |
| RGB | rgb(82, 113, 186) |
| HSL | hsl(222, 43%, 53%) |
| OKLCH | oklch(55.9% 0.119 265.4) |
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 #5271BA | 4.74:1 | AA | Lc -78.2 | Fine for body text |
| Black text on #5271BA | 4.42:1 | AA large text | Lc 31.3 | Non-text elements, placeholder text |
| #5271BA text on white | 4.74:1 | AA | Lc 72.8 | Content text, not long reading |
| #5271BA text on black | 4.42:1 | AA large text | Lc -28.9 | 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
#F3F5FA
oklch(97% 0.007 268.5)
-
Step 100
100
#E5EAF5
oklch(93.6% 0.016 266.3)
-
Step 200
200
#D0D9EE
oklch(88.5% 0.031 267.2)
-
Step 300
300
#B0C1E4
oklch(81% 0.053 264.7)
-
Step 400
400
#87A0D7
oklch(70.8% 0.086 265.4)
-
Step 500
500
#6987CC
oklch(63% 0.11 265.5)
-
Step 600
600 (this color)
#5271BA
oklch(55.9% 0.119 265.4)
-
Step 700
700
#425D9F
oklch(49% 0.111 265.7)
-
Step 800
800
#364D81
oklch(42.8% 0.091 264.8)
-
Step 900
900
#2F4068
oklch(37.7% 0.072 265.6)
-
Step 950
950
#1C263D
oklch(27.1% 0.045 265.6)
#5271BA 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) | #5378BD | 0.019 |
| Deuteranopia (no green cones) | #466FB8 | 0.016 |
| Tritanopia (no blue cones) | #11818C | 0.108 |
| Achromatopsia (no color) | #737373 | 0.119 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5271BA
#5271BA
oklch(55.9% 0.119 265.4)
- #926E00
#926E00
oklch(55.9% 0.114 85.8)
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 #5271BA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Windows Blue #3778BF ΔE 0.029
- French Blue #436BAD ΔE 0.032
- Flat Blue #3C73A8 ΔE 0.039
- Mid Blue #276AB3 ΔE 0.049
- Steel Blue #4682B4 ΔE 0.051
- Muted Blue #3B719F ΔE 0.051
- Dull Blue #49759C ΔE 0.053
- Cool Blue #4984B8 ΔE 0.054
Use #5271BA 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.