#5176B2
Closest named color: Flat Blue (#3C73A8). oklch(56.5% 0.103 259.7), rgb(81, 118, 178).
Aa
Black text reads best on this color (4.58:1).
About this color
#5176B2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 57%, its chroma 0.103 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Flat Blue (#3C73A8), ΔE 0.029 away. Black text reads best on it, at 4.58:1.
| Hue family | Blues |
| Lightness | medium-dark (57%) |
| Chroma | moderately saturated (0.103) |
| Temperature | cool |
| Nearest name | Flat Blue (#3C73A8) |
| Black text | 4.58:1 |
| White text | 4.58:1 |
Values
| HEX | #5176B2 |
| RGB | rgb(81, 118, 178) |
| HSL | hsl(217, 39%, 51%) |
| OKLCH | oklch(56.5% 0.103 259.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 #5176B2 | 4.58:1 | AA | Lc -77.1 | Fine for body text |
| Black text on #5176B2 | 4.58:1 | AA | Lc 32.4 | Non-text elements, placeholder text |
| #5176B2 text on white | 4.58:1 | AA | Lc 71.7 | Content text, not long reading |
| #5176B2 text on black | 4.58:1 | AA | Lc -30.0 | 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
#F3F6FA
oklch(97.2% 0.006 255.5)
-
Step 100
100
#E5EAF3
oklch(93.6% 0.013 262.4)
-
Step 200
200
#CFDAEB
oklch(88.5% 0.026 259)
-
Step 300
300
#AFC2DF
oklch(80.9% 0.046 258.8)
-
Step 400
400
#86A2CF
oklch(70.8% 0.073 259.8)
-
Step 500
500
#678AC3
oklch(63.1% 0.095 259.9)
-
Step 600
600 (this color)
#5176B2
oklch(56.5% 0.103 259.7)
-
Step 700
700
#3F6096
oklch(48.9% 0.095 259.8)
-
Step 800
800
#344F7A
oklch(42.7% 0.079 259.4)
-
Step 900
900
#2E4262
oklch(37.8% 0.061 259.5)
-
Step 950
950
#1B273A
oklch(27.1% 0.039 259.4)
#5176B2 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) | #5E7AB5 | 0.021 |
| Deuteranopia (no green cones) | #5271B1 | 0.014 |
| Tritanopia (no blue cones) | #19838C | 0.091 |
| Achromatopsia (no color) | #757575 | 0.103 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5176B2
#5176B2
oklch(56.5% 0.103 259.7)
- #966E23
#966E23
oklch(56.5% 0.103 79.1)
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 #5176B2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Flat Blue #3C73A8 ΔE 0.029
- Windows Blue #3778BF ΔE 0.030
- Steel Blue #4682B4 ΔE 0.034
- Dull Blue #49759C ΔE 0.037
- French Blue #436BAD ΔE 0.037
- Cool Blue #4984B8 ΔE 0.038
- Muted Blue #3B719F ΔE 0.041
- Stormy Blue #507B9C ΔE 0.041
Use #5176B2 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.