#166CCC

Closest named color: Mid Blue (#276AB3). oklch(53.8% 0.168 255.5), rgb(22, 108, 204).

Aa

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

About this color

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

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

Values

HEX#166CCC
RGBrgb(22, 108, 204)
HSLhsl(212, 81%, 44%)
OKLCHoklch(53.8% 0.168 255.5)

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 #166CCC 5.18:1 AA Lc -80.5 Fine for body text
Black text on #166CCC 4.05:1 AA large text Lc 29.0 Dividers and decoration only
#166CCC text on white 5.18:1 AA Lc 75.1 Fine for body text
#166CCC text on black 4.05:1 AA large text Lc -26.6 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

    #E0EBF9

    oklch(93.6% 0.022 254.4)

  3. Step 200

    200

    #C7DBF5

    oklch(88.5% 0.042 255)

  4. Step 300

    300

    #A0C3F1

    oklch(80.8% 0.076 255.4)

  5. Step 400

    400

    #6CA3EB

    oklch(70.7% 0.121 255.6)

  6. Step 500

    500

    #428AE4

    oklch(63.1% 0.154 255.4)

  7. Step 600

    600 (this color)

    #166CCC

    oklch(53.8% 0.168 255.5)

  8. Step 700

    700

    #0E5FB6

    oklch(49.2% 0.155 255.3)

  9. Step 800

    800

    #114E93

    oklch(42.7% 0.128 255.2)

  10. Step 900

    900

    #174175

    oklch(37.6% 0.1 255.6)

  11. Step 950

    950

    #0F2745

    oklch(27.1% 0.064 255.3)

Export this scale for Tailwind in the Tailwind colors tool

#166CCC 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)#3575D00.034
Deuteranopia (no green cones)#0066CA0.019
Tritanopia (no blue cones)#0083920.125
Achromatopsia (no color)#6D6D6D0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #166CCC

    #166CCC

    oklch(53.8% 0.168 255.5)

  • #936300

    #936300

    oklch(53.7% 0.113 75.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #166CCC

    #166CCC

    oklch(53.8% 0.168 255.5)

  • #00799B

    #00799B

    oklch(53.7% 0.103 226.1)

  • #6859C9

    #6859C9

    oklch(53.7% 0.167 285.4)

Open the analogous palette in the generator

Split complementary

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

  • #166CCC

    #166CCC

    oklch(53.8% 0.168 255.5)

  • #B24900

    #B24900

    oklch(53.7% 0.153 45.4)

  • #787100

    #787100

    oklch(53.8% 0.114 105.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #166CCC

    #166CCC

    oklch(53.8% 0.168 255.5)

  • #BB374D

    #BB374D

    oklch(53.8% 0.168 15.4)

  • #3F8100

    #3F8100

    oklch(53.8% 0.159 135.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #166CCC

    #166CCC

    oklch(53.8% 0.168 255.5)

  • #AD3B83

    #AD3B83

    oklch(53.7% 0.167 345.3)

  • #936300

    #936300

    oklch(53.7% 0.113 75.8)

  • #00825E

    #00825E

    oklch(53.8% 0.112 165.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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