#166FE2

Closest named color: Cerulean Blue (#056EEE). oklch(56% 0.192 257.8), rgb(22, 111, 226).

Aa

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

About this color

#166FE2 is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.192 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean Blue (#056EEE), ΔE 0.019 away. White text reads best on it, at 4.76:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.192)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.40:1
White text4.76:1

Values

HEX#166FE2
RGBrgb(22, 111, 226)
HSLhsl(214, 82%, 49%)
OKLCHoklch(56% 0.192 257.8)

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 #166FE2 4.76:1 AA Lc -77.8 Fine for body text
Black text on #166FE2 4.40:1 AA large text Lc 31.7 Non-text elements, placeholder text
#166FE2 text on white 4.76:1 AA Lc 72.4 Content text, not long reading
#166FE2 text on black 4.40:1 AA large text Lc -29.3 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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C6DBF9

    oklch(88.5% 0.047 257.3)

  4. Step 300

    300

    #9EC3F9

    oklch(81% 0.087 257.7)

  5. Step 400

    400

    #68A1F6

    oklch(70.7% 0.139 258.2)

  6. Step 500

    500

    #3C87F2

    oklch(63.1% 0.177 257.9)

  7. Step 600

    600 (this color)

    #166FE2

    oklch(56% 0.192 257.8)

  8. Step 700

    700

    #025BC3

    oklch(49.1% 0.179 257.7)

  9. Step 800

    800

    #0A4B9E

    oklch(42.8% 0.148 257.8)

  10. Step 900

    900

    #133F7D

    oklch(37.6% 0.116 258)

  11. Step 950

    950

    #0D2649

    oklch(27.1% 0.072 257.4)

Export this scale for Tailwind in the Tailwind colors tool

#166FE2 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)#1E7CE60.035
Deuteranopia (no green cones)#006AE00.015
Tritanopia (no blue cones)#008B9E0.144
Achromatopsia (no color)#7373730.192

Harmonies

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

Complementary

The opposite hue (180°).

  • #166FE2

    #166FE2

    oklch(56% 0.192 257.8)

  • #9A6A00

    #9A6A00

    oklch(56% 0.117 77.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #166FE2

    #166FE2

    oklch(56% 0.192 257.8)

  • #0080A6

    #0080A6

    oklch(56% 0.109 227.6)

  • #7359DC

    #7359DC

    oklch(56% 0.191 287.7)

Open the analogous palette in the generator

Split complementary

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

  • #166FE2

    #166FE2

    oklch(56% 0.192 257.8)

  • #B95100

    #B95100

    oklch(56% 0.153 47.7)

  • #7C7900

    #7C7900

    oklch(56% 0.121 108)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #166FE2

    #166FE2

    oklch(56% 0.192 257.8)

  • #CD2F48

    #CD2F48

    oklch(56.1% 0.193 17.9)

  • #388A00

    #388A00

    oklch(56% 0.172 137.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #166FE2

    #166FE2

    oklch(56% 0.192 257.8)

  • #BF3488

    #BF3488

    oklch(56% 0.192 348)

  • #9A6A00

    #9A6A00

    oklch(56% 0.117 77.5)

  • #008967

    #008967

    oklch(55.9% 0.114 167.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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