#166CB5

Closest named color: Mid Blue (#276AB3). oklch(52.2% 0.138 250.1), rgb(22, 108, 181).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.138)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.84:1
White text5.45:1

Values

HEX#166CB5
RGBrgb(22, 108, 181)
HSLhsl(208, 78%, 40%)
OKLCHoklch(52.2% 0.138 250.1)

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 #166CB5 5.45:1 AA Lc -82.1 Fine for body text
Black text on #166CB5 3.84:1 AA large text Lc 27.3 Dividers and decoration only
#166CB5 text on white 5.45:1 AA Lc 76.7 Fine for body text
#166CB5 text on black 3.84:1 AA large text Lc -25.0 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

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C7DCF1

    oklch(88.5% 0.037 248.2)

  4. Step 300

    300

    #A0C5EB

    oklch(81% 0.067 249.3)

  5. Step 400

    400

    #6BA5E1

    oklch(70.6% 0.107 250.3)

  6. Step 500

    500

    #408DD8

    oklch(63% 0.136 250.4)

  7. Step 600

    600

    #1776C6

    oklch(55.6% 0.149 250.2)

  8. Step 700

    700 (this color)

    #166CB5

    oklch(52.2% 0.138 250.1)

  9. Step 800

    800

    #0C518A

    oklch(42.7% 0.114 249.9)

  10. Step 900

    900

    #15436F

    oklch(37.6% 0.09 250.8)

  11. Step 950

    950

    #0E2841

    oklch(27.1% 0.057 249.9)

Export this scale for Tailwind in the Tailwind colors tool

#166CB5 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)#4871B80.042
Deuteranopia (no green cones)#2D63B40.026
Tritanopia (no blue cones)#007E870.102
Achromatopsia (no color)#6969690.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #166CB5

    #166CB5

    oklch(52.2% 0.138 250.1)

  • #925C00

    #925C00

    oklch(52.2% 0.113 70.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #166CB5

    #166CB5

    oklch(52.2% 0.138 250.1)

  • #00768F

    #00768F

    oklch(52.3% 0.095 219.4)

  • #5C5DB6

    #5C5DB6

    oklch(52.2% 0.137 280)

Open the analogous palette in the generator

Split complementary

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

  • #166CB5

    #166CB5

    oklch(52.2% 0.138 250.1)

  • #A94722

    #A94722

    oklch(52.2% 0.138 39.9)

  • #786A00

    #786A00

    oklch(52.1% 0.108 100.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #166CB5

    #166CB5

    oklch(52.2% 0.138 250.1)

  • #A94157

    #A94157

    oklch(52.3% 0.137 10.3)

  • #4E7807

    #4E7807

    oklch(52.2% 0.138 130)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #166CB5

    #166CB5

    oklch(52.2% 0.138 250.1)

  • #9B4482

    #9B4482

    oklch(52.1% 0.138 339.9)

  • #925C00

    #925C00

    oklch(52.2% 0.113 70.3)

  • #007E51

    #007E51

    oklch(52.3% 0.119 159.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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