#166CE5

Closest named color: Cerulean Blue (#056EEE). oklch(55.6% 0.2 258.9), rgb(22, 108, 229).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.200)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.31:1
White text4.87:1

Values

HEX#166CE5
RGBrgb(22, 108, 229)
HSLhsl(215, 82%, 49%)
OKLCHoklch(55.6% 0.2 258.9)

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 #166CE5 4.87:1 AA Lc -78.5 Fine for body text
Black text on #166CE5 4.31:1 AA large text Lc 31.0 Non-text elements, placeholder text
#166CE5 text on white 4.87:1 AA Lc 73.0 Content text, not long reading
#166CE5 text on black 4.31:1 AA large text Lc -28.7 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

    #67A0F9

    oklch(70.6% 0.144 259)

  6. Step 500

    500

    #3C86F6

    oklch(63.2% 0.183 258.7)

  7. Step 600

    600 (this color)

    #166CE5

    oklch(55.6% 0.2 258.9)

  8. Step 700

    700

    #0559C7

    oklch(49.1% 0.186 258.9)

  9. Step 800

    800

    #0B4AA1

    oklch(42.8% 0.153 258.7)

  10. Step 900

    900

    #133F80

    oklch(37.8% 0.12 258.7)

  11. Step 950

    950

    #0D254B

    oklch(27% 0.077 259.3)

Export this scale for Tailwind in the Tailwind colors tool

#166CE5 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)#007BE90.038
Deuteranopia (no green cones)#0069E30.011
Tritanopia (no blue cones)#008A9E0.151
Achromatopsia (no color)#7171710.200

Harmonies

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

Complementary

The opposite hue (180°).

  • #166CE5

    #166CE5

    oklch(55.6% 0.2 258.9)

  • #976A00

    #976A00

    oklch(55.7% 0.116 79.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #166CE5

    #166CE5

    oklch(55.6% 0.2 258.9)

  • #007FA6

    #007FA6

    oklch(55.7% 0.109 228.5)

  • #7455DE

    #7455DE

    oklch(55.6% 0.199 288.6)

Open the analogous palette in the generator

Split complementary

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

  • #166CE5

    #166CE5

    oklch(55.6% 0.2 258.9)

  • #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.

  • #166CE5

    #166CE5

    oklch(55.6% 0.2 258.9)

  • #CE2742

    #CE2742

    oklch(55.6% 0.2 18.9)

  • #318A00

    #318A00

    oklch(55.8% 0.175 138.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #166CE5

    #166CE5

    oklch(55.6% 0.2 258.9)

  • #C02D86

    #C02D86

    oklch(55.5% 0.2 348.6)

  • #976A00

    #976A00

    oklch(55.7% 0.116 79.3)

  • #008868

    #008868

    oklch(55.7% 0.112 168.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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