#5170BB
Closest named color: Windows Blue (#3778BF). oklch(55.7% 0.122 265.7), rgb(81, 112, 187).
Aa
White text reads best on this color (4.78:1).
About this color
#5170BB is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.122 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.030 away. White text reads best on it, at 4.78:1.
| Hue family | Blues |
| Lightness | medium-dark (56%) |
| Chroma | moderately saturated (0.122) |
| Temperature | cool |
| Nearest name | Windows Blue (#3778BF) |
| Black text | 4.38:1 |
| White text | 4.78:1 |
Values
| HEX | #5170BB |
| RGB | rgb(81, 112, 187) |
| HSL | hsl(222, 44%, 53%) |
| OKLCH | oklch(55.7% 0.122 265.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 #5170BB | 4.78:1 | AA | Lc -78.5 | Fine for body text |
| Black text on #5170BB | 4.38:1 | AA large text | Lc 31.0 | Non-text elements, placeholder text |
| #5170BB text on white | 4.78:1 | AA | Lc 73.1 | Content text, not long reading |
| #5170BB text on black | 4.38:1 | AA large text | Lc -28.6 | 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
#F3F5FB
oklch(97% 0.008 271.3)
-
Step 100
100
#E5EAF5
oklch(93.6% 0.016 266.3)
-
Step 200
200
#CFD9EE
oklch(88.4% 0.031 265.3)
-
Step 300
300
#B0C1E5
oklch(81% 0.054 265.2)
-
Step 400
400
#86A0D8
oklch(70.7% 0.088 265)
-
Step 500
500
#6987CE
oklch(63.1% 0.113 265.9)
-
Step 600
600 (this color)
#5170BB
oklch(55.7% 0.122 265.7)
-
Step 700
700
#415DA1
oklch(49% 0.114 265.5)
-
Step 800
800
#364C82
oklch(42.6% 0.094 265.8)
-
Step 900
900
#2F4069
oklch(37.8% 0.074 265.9)
-
Step 950
950
#1B263D
oklch(27% 0.046 264.1)
#5170BB 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) | #5177BE | 0.019 |
| Deuteranopia (no green cones) | #436EB9 | 0.018 |
| Tritanopia (no blue cones) | #07818C | 0.111 |
| Achromatopsia (no color) | #727272 | 0.122 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5170BB
#5170BB
oklch(55.7% 0.122 265.7)
- #916D00
#916D00
oklch(55.6% 0.114 85.6)
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 #5170BB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Windows Blue #3778BF ΔE 0.030
- French Blue #436BAD ΔE 0.031
- Flat Blue #3C73A8 ΔE 0.040
- Mid Blue #276AB3 ΔE 0.047
- Muted Blue #3B719F ΔE 0.052
- Steel Blue #4682B4 ΔE 0.054
- Dull Blue #49759C ΔE 0.056
- Nice Blue #107AB0 ΔE 0.056
Use #5170BB 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.