#166CBC

Closest named color: Mid Blue (#276AB3). oklch(52.7% 0.147 252.1), rgb(22, 108, 188).

Aa

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

About this color

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

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

Values

HEX#166CBC
RGBrgb(22, 108, 188)
HSLhsl(209, 79%, 41%)
OKLCHoklch(52.7% 0.147 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 #166CBC 5.37:1 AA Lc -81.6 Fine for body text
Black text on #166CBC 3.90:1 AA large text Lc 27.8 Dividers and decoration only
#166CBC text on white 5.37:1 AA Lc 76.2 Fine for body text
#166CBC text on black 3.90:1 AA large text Lc -25.5 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

    #C8DBF1

    oklch(88.4% 0.037 252.1)

  4. Step 300

    300

    #A2C4EB

    oklch(80.9% 0.066 252.1)

  5. Step 400

    400

    #6FA4E1

    oklch(70.6% 0.106 252.7)

  6. Step 500

    500

    #458CD8

    oklch(63% 0.135 252.1)

  7. Step 600

    600 (this color)

    #166CBC

    oklch(52.7% 0.147 252.1)

  8. Step 700

    700

    #1362AB

    oklch(49.2% 0.137 251.9)

  9. Step 800

    800

    #15508A

    oklch(42.7% 0.113 252.1)

  10. Step 900

    900

    #19436F

    oklch(37.7% 0.089 252.2)

  11. Step 950

    950

    #102741

    oklch(26.9% 0.057 253.1)

Export this scale for Tailwind in the Tailwind colors tool

#166CBC 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)#4372BF0.039
Deuteranopia (no green cones)#2464BA0.021
Tritanopia (no blue cones)#007F8B0.107
Achromatopsia (no color)#6A6A6A0.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #166CBC

    #166CBC

    oklch(52.7% 0.147 252.1)

  • #925E00

    #925E00

    oklch(52.6% 0.113 72)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #166CBC

    #166CBC

    oklch(52.7% 0.147 252.1)

  • #007793

    #007793

    oklch(52.8% 0.097 221.8)

  • #605CBC

    #605CBC

    oklch(52.7% 0.146 282)

Open the analogous palette in the generator

Split complementary

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

  • #166CBC

    #166CBC

    oklch(52.7% 0.147 252.1)

  • #AD4615

    #AD4615

    oklch(52.6% 0.147 42)

  • #786C00

    #786C00

    oklch(52.6% 0.11 101.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #166CBC

    #166CBC

    oklch(52.7% 0.147 252.1)

  • #AE3E54

    #AE3E54

    oklch(52.6% 0.146 11.9)

  • #497B00

    #497B00

    oklch(52.7% 0.146 132)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #166CBC

    #166CBC

    oklch(52.7% 0.147 252.1)

  • #A14282

    #A14282

    oklch(52.7% 0.147 342.2)

  • #925E00

    #925E00

    oklch(52.6% 0.113 72)

  • #007F56

    #007F56

    oklch(52.7% 0.116 162)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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