#5F81BC
Closest named color: Cool Blue (#4984B8). oklch(60.3% 0.099 261), rgb(95, 129, 188).
Aa
Black text reads best on this color (5.35:1).
About this color
#5F81BC is a medium-dark, moderately saturated blue. In OKLCH its lightness is 60%, its chroma 0.099 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Cool Blue (#4984B8), ΔE 0.025 away. Black text reads best on it, at 5.35:1.
| Hue family | Blues |
| Lightness | medium-dark (60%) |
| Chroma | moderately saturated (0.099) |
| Temperature | cool |
| Nearest name | Cool Blue (#4984B8) |
| Black text | 5.35:1 |
| White text | 3.92:1 |
Values
| HEX | #5F81BC |
| RGB | rgb(95, 129, 188) |
| HSL | hsl(218, 41%, 55%) |
| OKLCH | oklch(60.3% 0.099 261) |
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 #5F81BC | 3.92:1 | AA large text | Lc -72.0 | Content text, not long reading |
| Black text on #5F81BC | 5.35:1 | AA | Lc 37.5 | Non-text elements, placeholder text |
| #5F81BC text on white | 3.92:1 | AA large text | Lc 66.5 | Content text, not long reading |
| #5F81BC text on black | 5.35:1 | AA | Lc -35.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
#E5EAF3
oklch(93.6% 0.013 262.4)
-
Step 200
200
#CFDAEB
oklch(88.5% 0.026 259)
-
Step 300
300
#AFC2E0
oklch(80.9% 0.047 259.5)
-
Step 400
400
#85A1D1
oklch(70.6% 0.077 261)
-
Step 500
500 (this color)
#5F81BC
oklch(60.3% 0.099 261)
-
Step 600
600
#4F73B2
oklch(55.7% 0.107 261)
-
Step 700
700
#3F6099
oklch(49.1% 0.1 260.7)
-
Step 800
800
#344E7C
oklch(42.6% 0.083 261.2)
-
Step 900
900
#2E4164
oklch(37.6% 0.065 262)
-
Step 950
950
#1B263A
oklch(26.9% 0.041 261.9)
#5F81BC 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) | #6A85BF | 0.019 |
| Deuteranopia (no green cones) | #607DBB | 0.011 |
| Tritanopia (no blue cones) | #368E96 | 0.088 |
| Achromatopsia (no color) | #808080 | 0.099 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F81BC
#5F81BC
oklch(60.3% 0.099 261)
- #9F7A34
#9F7A34
oklch(60.2% 0.099 80.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 #5F81BC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cool Blue #4984B8 ΔE 0.025
- Off Blue #5684AE ΔE 0.028
- Steel Blue #4682B4 ΔE 0.030
- Dusty Blue #5A86AD ΔE 0.031
- Faded Blue #658CBB ΔE 0.033
- Windows Blue #3778BF ΔE 0.051
- Stormy Blue #507B9C ΔE 0.054
- Water Blue #0E87CC ΔE 0.056
Use #5F81BC 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.