#166AB1

Closest named color: Mid Blue (#276AB3). oklch(51.5% 0.135 250), rgb(22, 106, 177).

Aa

White text reads best on this color (5.62:1).

About this color

#166AB1 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 51%, its chroma 0.135 and its hue 250°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.010 away. White text reads best on it, at 5.62:1.

Hue familyBlues
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.135)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.73:1
White text5.62:1

Values

HEX#166AB1
RGBrgb(22, 106, 177)
HSLhsl(207, 78%, 39%)
OKLCHoklch(51.5% 0.135 250)

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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #166AB1 5.62:1 AA Lc -82.9 Fine for body text
Black text on #166AB1 3.73:1 AA large text Lc 26.4 Dividers and decoration only
#166AB1 text on white 5.62:1 AA Lc 77.6 Fine for body text
#166AB1 text on black 3.73:1 AA large text Lc -24.1 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 700.

  1. Step 50

    50

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF6

    oklch(93.6% 0.018 250.6)

  3. Step 200

    200

    #C8DCF1

    oklch(88.6% 0.036 249.5)

  4. Step 300

    300

    #A1C5EA

    oklch(81% 0.065 249.3)

  5. Step 400

    400

    #6CA5DF

    oklch(70.6% 0.104 249.9)

  6. Step 500

    500

    #418ED7

    oklch(63.2% 0.134 249.7)

  7. Step 600

    600

    #1B76C4

    oklch(55.6% 0.145 250.1)

  8. Step 700

    700 (this color)

    #166AB1

    oklch(51.5% 0.135 250)

  9. Step 800

    800

    #0F5189

    oklch(42.7% 0.112 250)

  10. Step 900

    900

    #16446E

    oklch(37.8% 0.087 249.7)

  11. Step 950

    950

    #0F2840

    oklch(27% 0.055 249.7)

Export this scale for Tailwind in the Tailwind colors tool

#166AB1 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#476FB40.042
Deuteranopia (no green cones)#2D61B00.026
Tritanopia (no blue cones)#007B850.097
Achromatopsia (no color)#6767670.135

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #166AB1

    #166AB1

    oklch(51.5% 0.135 250)

  • #8F5A00

    #8F5A00

    oklch(51.4% 0.111 70.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #166AB1

    #166AB1

    oklch(51.5% 0.135 250)

  • #00738C

    #00738C

    oklch(51.4% 0.093 219.9)

  • #5A5BB2

    #5A5BB2

    oklch(51.4% 0.135 280.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #166AB1

    #166AB1

    oklch(51.5% 0.135 250)

  • #A54622

    #A54622

    oklch(51.4% 0.135 40)

  • #766800

    #766800

    oklch(51.5% 0.107 100.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #166AB1

    #166AB1

    oklch(51.5% 0.135 250)

  • #A54056

    #A54056

    oklch(51.5% 0.134 9.8)

  • #4D7608

    #4D7608

    oklch(51.6% 0.135 129.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #166AB1

    #166AB1

    oklch(51.5% 0.135 250)

  • #984380

    #984380

    oklch(51.4% 0.136 339.6)

  • #8F5A00

    #8F5A00

    oklch(51.4% 0.111 70.3)

  • #007B4F

    #007B4F

    oklch(51.4% 0.117 159.8)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #166AB1, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #166AB1 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.