#166CE4

Closest named color: Cerulean Blue (#056EEE). oklch(55.5% 0.198 258.8), rgb(22, 108, 228).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.198)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.29:1
White text4.88:1

Values

HEX#166CE4
RGBrgb(22, 108, 228)
HSLhsl(215, 82%, 49%)
OKLCHoklch(55.5% 0.198 258.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 #166CE4 4.88:1 AA Lc -78.6 Fine for body text
Black text on #166CE4 4.29:1 AA large text Lc 31.0 Non-text elements, placeholder text
#166CE4 text on white 4.88:1 AA Lc 73.1 Content text, not long reading
#166CE4 text on black 4.29:1 AA large text Lc -28.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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EBFC

    oklch(93.7% 0.026 259)

  3. Step 200

    200

    #C6DBFB

    oklch(88.6% 0.05 258.7)

  4. Step 300

    300

    #9EC2FB

    oklch(80.9% 0.09 259.4)

  5. Step 400

    400

    #68A1F8

    oklch(70.8% 0.142 258.6)

  6. Step 500

    500

    #3C86F5

    oklch(63.1% 0.182 258.6)

  7. Step 600

    600 (this color)

    #166CE4

    oklch(55.5% 0.198 258.8)

  8. Step 700

    700

    #0559C6

    oklch(49% 0.185 258.8)

  9. Step 800

    800

    #0C4AA0

    oklch(42.7% 0.152 258.7)

  10. Step 900

    900

    #143F7F

    oklch(37.7% 0.118 258.7)

  11. Step 950

    950

    #0D254A

    oklch(26.9% 0.075 258.9)

Export this scale for Tailwind in the Tailwind colors tool

#166CE4 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)#007AE80.035
Deuteranopia (no green cones)#0069E20.011
Tritanopia (no blue cones)#008A9D0.152
Achromatopsia (no color)#7171710.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #166CE4

    #166CE4

    oklch(55.5% 0.198 258.8)

  • #976900

    #976900

    oklch(55.4% 0.115 78.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #166CE4

    #166CE4

    oklch(55.5% 0.198 258.8)

  • #007EA6

    #007EA6

    oklch(55.5% 0.11 229.3)

  • #7455DD

    #7455DD

    oklch(55.6% 0.198 288.8)

Open the analogous palette in the generator

Split complementary

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

  • #166CE4

    #166CE4

    oklch(55.5% 0.198 258.8)

  • #B65200

    #B65200

    oklch(55.7% 0.149 48.9)

  • #7A7800

    #7A7800

    oklch(55.6% 0.12 108.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #166CE4

    #166CE4

    oklch(55.5% 0.198 258.8)

  • #CD2843

    #CD2843

    oklch(55.5% 0.198 18.6)

  • #318900

    #318900

    oklch(55.5% 0.174 138.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #166CE4

    #166CE4

    oklch(55.5% 0.198 258.8)

  • #C02E86

    #C02E86

    oklch(55.6% 0.199 348.7)

  • #976900

    #976900

    oklch(55.4% 0.115 78.5)

  • #008767

    #008767

    oklch(55.4% 0.111 168.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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