#166CBA
Closest named color: Mid Blue (#276AB3). oklch(52.5% 0.144 251.5), rgb(22, 108, 186).
Aa
White text reads best on this color (5.40:1).
About this color
#166CBA is a medium-dark, vivid blue. In OKLCH its lightness is 53%, its chroma 0.144 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.013 away. White text reads best on it, at 5.40:1.
| Hue family | Blues |
| Lightness | medium-dark (53%) |
| Chroma | vivid (0.144) |
| Temperature | cool |
| Nearest name | Mid Blue (#276AB3) |
| Black text | 3.88:1 |
| White text | 5.40:1 |
Values
| HEX | #166CBA |
| RGB | rgb(22, 108, 186) |
| HSL | hsl(209, 79%, 41%) |
| OKLCH | oklch(52.5% 0.144 251.5) |
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 #166CBA | 5.40:1 | AA | Lc -81.7 | Fine for body text |
| Black text on #166CBA | 3.88:1 | AA large text | Lc 27.7 | Dividers and decoration only |
| #166CBA text on white | 5.40:1 | AA | Lc 76.4 | Fine for body text |
| #166CBA text on black | 3.88:1 | AA large text | Lc -25.4 | 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
#F1F6FB
oklch(97.1% 0.009 247.9)
-
Step 100
100
#E1EBF6
oklch(93.6% 0.018 250.6)
-
Step 200
200
#C8DBF1
oklch(88.4% 0.037 252.1)
-
Step 300
300
#A2C4EA
oklch(80.9% 0.065 251.5)
-
Step 400
400
#6FA5E0
oklch(70.8% 0.104 251.5)
-
Step 500
500
#468DD7
oklch(63.2% 0.133 251.5)
-
Step 600
600 (this color)
#166CBA
oklch(52.5% 0.144 251.5)
-
Step 700
700
#1462A9
oklch(49% 0.134 251.5)
-
Step 800
800
#155089
oklch(42.6% 0.111 251.8)
-
Step 900
900
#19436E
oklch(37.7% 0.087 251.7)
-
Step 950
950
#102840
oklch(27.1% 0.054 250.5)
#166CBA 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) | #4472BD | 0.040 |
| Deuteranopia (no green cones) | #2764B8 | 0.022 |
| Tritanopia (no blue cones) | #007F8A | 0.106 |
| Achromatopsia (no color) | #6A6A6A | 0.144 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #166CBA
#166CBA
oklch(52.5% 0.144 251.5)
- #925E00
#925E00
oklch(52.6% 0.113 72)
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 #166CBA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mid Blue #276AB3 ΔE 0.013
- French Blue #436BAD ΔE 0.036
- Windows Blue #3778BF ΔE 0.043
- Nice Blue #107AB0 ΔE 0.046
- Flat Blue #3C73A8 ΔE 0.046
- Muted Blue #3B719F ΔE 0.053
- Ocean Blue #03719C ΔE 0.054
- Peacock Blue #016795 ΔE 0.060
Use #166CBA 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.