#166DC5

Closest named color: Mid Blue (#276AB3). oklch(53.5% 0.157 253.7), rgb(22, 109, 197).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (54%)
Chromavivid (0.157)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text4.02:1
White text5.21:1

Values

HEX#166DC5
RGBrgb(22, 109, 197)
HSLhsl(210, 80%, 43%)
OKLCHoklch(53.5% 0.157 253.7)

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 #166DC5 5.21:1 AA Lc -80.7 Fine for body text
Black text on #166DC5 4.02:1 AA large text Lc 28.8 Dividers and decoration only
#166DC5 text on white 5.21:1 AA Lc 75.3 Fine for body text
#166DC5 text on black 4.02:1 AA large text Lc -26.4 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF8

    oklch(93.6% 0.021 254.9)

  3. Step 200

    200

    #C8DBF3

    oklch(88.5% 0.039 254.3)

  4. Step 300

    300

    #A1C4EE

    oklch(80.9% 0.071 253.2)

  5. Step 400

    400

    #6DA4E6

    oklch(70.8% 0.113 253.7)

  6. Step 500

    500

    #438BDE

    oklch(63% 0.145 253.8)

  7. Step 600

    600 (this color)

    #166DC5

    oklch(53.5% 0.157 253.7)

  8. Step 700

    700

    #1060B1

    oklch(49.1% 0.147 254)

  9. Step 800

    800

    #124F8F

    oklch(42.7% 0.121 253.8)

  10. Step 900

    900

    #184272

    oklch(37.7% 0.095 254)

  11. Step 950

    950

    #0F2743

    oklch(27% 0.06 253.9)

Export this scale for Tailwind in the Tailwind colors tool

#166DC5 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)#3E75C80.037
Deuteranopia (no green cones)#1566C30.019
Tritanopia (no blue cones)#00828F0.117
Achromatopsia (no color)#6C6C6C0.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #166DC5

    #166DC5

    oklch(53.5% 0.157 253.7)

  • #946100

    #946100

    oklch(53.5% 0.114 73.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #166DC5

    #166DC5

    oklch(53.5% 0.157 253.7)

  • #007998

    #007998

    oklch(53.5% 0.1 223.8)

  • #655BC4

    #655BC4

    oklch(53.5% 0.158 284)

Open the analogous palette in the generator

Split complementary

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

  • #166DC5

    #166DC5

    oklch(53.5% 0.157 253.7)

  • #B34600

    #B34600

    oklch(53.5% 0.156 43.8)

  • #796F00

    #796F00

    oklch(53.4% 0.112 103.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #166DC5

    #166DC5

    oklch(53.5% 0.157 253.7)

  • #B63B51

    #B63B51

    oklch(53.5% 0.158 13.8)

  • #457F00

    #457F00

    oklch(53.5% 0.153 133.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #166DC5

    #166DC5

    oklch(53.5% 0.157 253.7)

  • #A83F84

    #A83F84

    oklch(53.4% 0.158 343.5)

  • #946100

    #946100

    oklch(53.5% 0.114 73.4)

  • #00815B

    #00815B

    oklch(53.4% 0.114 164.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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