#5174C8
Closest named color: Windows Blue (#3778BF). oklch(57.3% 0.136 265.3), rgb(81, 116, 200).
Aa
Black text reads best on this color (4.68:1).
About this color
#5174C8 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 57%, its chroma 0.136 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.031 away. Black text reads best on it, at 4.68:1.
| Hue family | Blues |
| Lightness | medium-dark (57%) |
| Chroma | moderately saturated (0.136) |
| Temperature | cool |
| Nearest name | Windows Blue (#3778BF) |
| Black text | 4.68:1 |
| White text | 4.48:1 |
Values
| HEX | #5174C8 |
| RGB | rgb(81, 116, 200) |
| HSL | hsl(222, 52%, 55%) |
| OKLCH | oklch(57.3% 0.136 265.3) |
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 #5174C8 | 4.48:1 | AA large text | Lc -76.4 | Fine for body text |
| Black text on #5174C8 | 4.68:1 | AA | Lc 33.2 | Non-text elements, placeholder text |
| #5174C8 text on white | 4.48:1 | AA large text | Lc 70.9 | Content text, not long reading |
| #5174C8 text on black | 4.68:1 | AA | Lc -30.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 600.
-
Step 50
50
#F3F5FB
oklch(97% 0.008 271.3)
-
Step 100
100
#E4EAF6
oklch(93.6% 0.017 264.5)
-
Step 200
200
#CED9F0
oklch(88.4% 0.034 265.2)
-
Step 300
300
#AEC1E9
oklch(81% 0.06 265.1)
-
Step 400
400
#839FDE
oklch(70.6% 0.098 265.6)
-
Step 500
500
#6586D5
oklch(63% 0.125 265.8)
-
Step 600
600 (this color)
#5174C8
oklch(57.3% 0.136 265.3)
-
Step 700
700
#3D5CA8
oklch(49.1% 0.127 265.3)
-
Step 800
800
#334C88
oklch(42.8% 0.104 265.2)
-
Step 900
900
#2C406D
oklch(37.8% 0.081 264.7)
-
Step 950
950
#1A2540
oklch(26.9% 0.053 266.2)
#5174C8 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) | #4F7DCB | 0.024 |
| Deuteranopia (no green cones) | #3E72C6 | 0.021 |
| Tritanopia (no blue cones) | #008794 | 0.119 |
| Achromatopsia (no color) | #777777 | 0.136 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5174C8
#5174C8
oklch(57.3% 0.136 265.3)
- #987200
#987200
oklch(57.4% 0.118 85.3)
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 #5174C8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Windows Blue #3778BF ΔE 0.031
- French Blue #436BAD ΔE 0.050
- Royal Blue #4169E1 ΔE 0.054
- Cool Blue #4984B8 ΔE 0.056
- Steel Blue #4682B4 ΔE 0.056
- Flat Blue #3C73A8 ΔE 0.056
- Water Blue #0E87CC ΔE 0.060
- Dark Periwinkle #665FD1 ΔE 0.060
Use #5174C8 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.