#5A7FBB
Closest named color: Cool Blue (#4984B8). oklch(59.5% 0.101 259.7), rgb(90, 127, 187).
Aa
Black text reads best on this color (5.18:1).
About this color
#5A7FBB is a medium-dark, moderately saturated blue. In OKLCH its lightness is 59%, its chroma 0.101 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Cool Blue (#4984B8), ΔE 0.022 away. Black text reads best on it, at 5.18:1.
| Hue family | Blues |
| Lightness | medium-dark (59%) |
| Chroma | moderately saturated (0.101) |
| Temperature | cool |
| Nearest name | Cool Blue (#4984B8) |
| Black text | 5.18:1 |
| White text | 4.04:1 |
Values
| HEX | #5A7FBB |
| RGB | rgb(90, 127, 187) |
| HSL | hsl(217, 42%, 54%) |
| OKLCH | oklch(59.5% 0.101 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 #5A7FBB | 4.04:1 | AA large text | Lc -73.1 | Content text, not long reading |
| Black text on #5A7FBB | 5.18:1 | AA | Lc 36.5 | Non-text elements, placeholder text |
| #5A7FBB text on white | 4.04:1 | AA large text | Lc 67.6 | Content text, not long reading |
| #5A7FBB text on black | 5.18:1 | AA | Lc -34.1 | 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
#F3F6FA
oklch(97.2% 0.006 255.5)
-
Step 100
100
#E4EAF4
oklch(93.5% 0.015 260.7)
-
Step 200
200
#CFDAEC
oklch(88.5% 0.028 260.3)
-
Step 300
300
#AEC2E1
oklch(80.9% 0.049 259.1)
-
Step 400
400
#83A2D2
oklch(70.7% 0.079 259)
-
Step 500
500 (this color)
#5A7FBB
oklch(59.5% 0.101 259.7)
-
Step 600
600
#4B73B3
oklch(55.6% 0.11 259.4)
-
Step 700
700
#3C609A
oklch(49% 0.102 259.5)
-
Step 800
800
#324F7D
oklch(42.8% 0.084 259.3)
-
Step 900
900
#2C4265
oklch(37.8% 0.066 259.4)
-
Step 950
950
#1A273B
oklch(27.1% 0.042 258.8)
#5A7FBB 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) | #6883BE | 0.022 |
| Deuteranopia (no green cones) | #5C7ABA | 0.014 |
| Tritanopia (no blue cones) | #2A8C94 | 0.091 |
| Achromatopsia (no color) | #7E7E7E | 0.101 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5A7FBB
#5A7FBB
oklch(59.5% 0.101 259.7)
- #9E772F
#9E772F
oklch(59.4% 0.101 79.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 #5A7FBB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cool Blue #4984B8 ΔE 0.022
- Steel Blue #4682B4 ΔE 0.026
- Off Blue #5684AE ΔE 0.028
- Dusty Blue #5A86AD ΔE 0.033
- Faded Blue #658CBB ΔE 0.041
- Windows Blue #3778BF ΔE 0.043
- Stormy Blue #507B9C ΔE 0.050
- Water Blue #0E87CC ΔE 0.053
Use #5A7FBB 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.