#166DB3

Closest named color: Mid Blue (#276AB3). oklch(52.3% 0.134 249), rgb(22, 109, 179).

Aa

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

About this color

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

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

Values

HEX#166DB3
RGBrgb(22, 109, 179)
HSLhsl(207, 78%, 39%)
OKLCHoklch(52.3% 0.134 249)

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 #166DB3 5.42:1 AA Lc -81.9 Fine for body text
Black text on #166DB3 3.87:1 AA large text Lc 27.5 Dividers and decoration only
#166DB3 text on white 5.42:1 AA Lc 76.5 Fine for body text
#166DB3 text on black 3.87:1 AA large text Lc -25.2 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

    #C7DCF1

    oklch(88.5% 0.037 248.2)

  4. Step 300

    300

    #A1C5E9

    oklch(81% 0.064 248.6)

  5. Step 400

    400

    #6BA6DF

    oklch(70.8% 0.104 248.7)

  6. Step 500

    500

    #408ED6

    oklch(63.1% 0.133 249.2)

  7. Step 600

    600

    #1677C3

    oklch(55.7% 0.144 248.8)

  8. Step 700

    700 (this color)

    #166DB3

    oklch(52.3% 0.134 249)

  9. Step 800

    800

    #0B5189

    oklch(42.6% 0.112 249.4)

  10. Step 900

    900

    #15446D

    oklch(37.7% 0.086 248.8)

  11. Step 950

    950

    #0E2840

    oklch(27% 0.055 249)

Export this scale for Tailwind in the Tailwind colors tool

#166DB3 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)#4B71B60.044
Deuteranopia (no green cones)#3264B20.027
Tritanopia (no blue cones)#007E870.097
Achromatopsia (no color)#6A6A6A0.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #166DB3

    #166DB3

    oklch(52.3% 0.134 249)

  • #935B00

    #935B00

    oklch(52.2% 0.114 68.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #166DB3

    #166DB3

    oklch(52.3% 0.134 249)

  • #00768F

    #00768F

    oklch(52.3% 0.095 219.4)

  • #5B5EB5

    #5B5EB5

    oklch(52.3% 0.135 279.2)

Open the analogous palette in the generator

Split complementary

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

  • #166DB3

    #166DB3

    oklch(52.3% 0.134 249)

  • #A84928

    #A84928

    oklch(52.4% 0.134 39)

  • #7A6A00

    #7A6A00

    oklch(52.4% 0.108 98.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #166DB3

    #166DB3

    oklch(52.3% 0.134 249)

  • #A84259

    #A84259

    oklch(52.3% 0.135 9.2)

  • #51780B

    #51780B

    oklch(52.4% 0.135 129.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #166DB3

    #166DB3

    oklch(52.3% 0.134 249)

  • #9A4683

    #9A4683

    oklch(52.3% 0.135 339.1)

  • #935B00

    #935B00

    oklch(52.2% 0.114 68.8)

  • #007E50

    #007E50

    oklch(52.3% 0.12 159.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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