#166DBE

Closest named color: Mid Blue (#276AB3). oklch(53% 0.148 252.1), rgb(22, 109, 190).

Aa

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

About this color

#166DBE is a medium-dark, vivid blue. In OKLCH its lightness is 53%, its chroma 0.148 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.018 away. White text reads best on it, at 5.29:1.

Hue familyBlues
Lightnessmedium-dark (53%)
Chromavivid (0.148)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.96:1
White text5.29:1

Values

HEX#166DBE
RGBrgb(22, 109, 190)
HSLhsl(209, 79%, 42%)
OKLCHoklch(53% 0.148 252.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 #166DBE 5.29:1 AA Lc -81.2 Fine for body text
Black text on #166DBE 3.96:1 AA large text Lc 28.3 Dividers and decoration only
#166DBE text on white 5.29:1 AA Lc 75.8 Fine for body text
#166DBE text on black 3.96:1 AA large text Lc -25.9 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.

  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

    #C8DBF2

    oklch(88.4% 0.038 253.2)

  4. Step 300

    300

    #A2C4EB

    oklch(80.9% 0.066 252.1)

  5. Step 400

    400

    #6EA4E1

    oklch(70.6% 0.107 252.3)

  6. Step 500

    500

    #458CD9

    oklch(63% 0.137 252.4)

  7. Step 600

    600 (this color)

    #166DBE

    oklch(53% 0.148 252.1)

  8. Step 700

    700

    #1262AC

    oklch(49.2% 0.138 252.1)

  9. Step 800

    800

    #14508B

    oklch(42.7% 0.114 252.3)

  10. Step 900

    900

    #18436F

    oklch(37.7% 0.089 251.8)

  11. Step 950

    950

    #102741

    oklch(26.9% 0.057 253.1)

Export this scale for Tailwind in the Tailwind colors tool

#166DBE 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)#4373C10.038
Deuteranopia (no green cones)#2365BC0.021
Tritanopia (no blue cones)#00818C0.110
Achromatopsia (no color)#6B6B6B0.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #166DBE

    #166DBE

    oklch(53% 0.148 252.1)

  • #935F00

    #935F00

    oklch(52.9% 0.113 72.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #166DBE

    #166DBE

    oklch(53% 0.148 252.1)

  • #007894

    #007894

    oklch(53.1% 0.098 221.6)

  • #615CBE

    #615CBE

    oklch(52.9% 0.149 282.3)

Open the analogous palette in the generator

Split complementary

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

  • #166DBE

    #166DBE

    oklch(53% 0.148 252.1)

  • #AF4715

    #AF4715

    oklch(53% 0.148 42.2)

  • #796D00

    #796D00

    oklch(52.9% 0.111 101.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #166DBE

    #166DBE

    oklch(53% 0.148 252.1)

  • #B03E54

    #B03E54

    oklch(52.9% 0.149 12.2)

  • #497C00

    #497C00

    oklch(52.9% 0.147 132.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #166DBE

    #166DBE

    oklch(53% 0.148 252.1)

  • #A34283

    #A34283

    oklch(53% 0.149 342.4)

  • #935F00

    #935F00

    oklch(52.9% 0.113 72.3)

  • #008057

    #008057

    oklch(53% 0.116 162.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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