#166BEB

Closest named color: Cerulean Blue (#056EEE). oklch(55.9% 0.208 259.7), rgb(22, 107, 235).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.208)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.33:1
White text4.84:1

Values

HEX#166BEB
RGBrgb(22, 107, 235)
HSLhsl(216, 84%, 50%)
OKLCHoklch(55.9% 0.208 259.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 #166BEB 4.84:1 AA Lc -78.2 Fine for body text
Black text on #166BEB 4.33:1 AA large text Lc 31.3 Non-text elements, placeholder text
#166BEB text on white 4.84:1 AA Lc 72.8 Content text, not long reading
#166BEB text on black 4.33:1 AA large text Lc -28.9 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

    #DFEBFD

    oklch(93.6% 0.028 258.4)

  3. Step 200

    200

    #C5DAFC

    oklch(88.4% 0.052 260)

  4. Step 300

    300

    #9DC2FE

    oklch(80.9% 0.094 259.9)

  5. Step 400

    400

    #66A0FD

    oklch(70.7% 0.15 259.4)

  6. Step 500

    500

    #3B84FB

    oklch(63.1% 0.192 259.8)

  7. Step 600

    600 (this color)

    #166BEB

    oklch(55.9% 0.208 259.7)

  8. Step 700

    700

    #0457CC

    oklch(49.1% 0.195 259.8)

  9. Step 800

    800

    #0B48A5

    oklch(42.7% 0.161 259.9)

  10. Step 900

    900

    #133E82

    oklch(37.7% 0.124 259.6)

  11. Step 950

    950

    #0C254C

    oklch(27% 0.079 259.2)

Export this scale for Tailwind in the Tailwind colors tool

#166BEB 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)#007BEF0.039
Deuteranopia (no green cones)#0069E90.009
Tritanopia (no blue cones)#008BA10.157
Achromatopsia (no color)#7272720.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #166BEB

    #166BEB

    oklch(55.9% 0.208 259.7)

  • #986B00

    #986B00

    oklch(56% 0.116 79.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #166BEB

    #166BEB

    oklch(55.9% 0.208 259.7)

  • #007FA8

    #007FA8

    oklch(55.8% 0.111 229.8)

  • #7752E3

    #7752E3

    oklch(55.8% 0.209 289.6)

Open the analogous palette in the generator

Split complementary

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

  • #166BEB

    #166BEB

    oklch(55.9% 0.208 259.7)

  • #B65400

    #B65400

    oklch(56% 0.148 50)

  • #797900

    #797900

    oklch(55.8% 0.122 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #166BEB

    #166BEB

    oklch(55.9% 0.208 259.7)

  • #D2203E

    #D2203E

    oklch(55.8% 0.208 19.7)

  • #2B8B00

    #2B8B00

    oklch(55.9% 0.179 139.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #166BEB

    #166BEB

    oklch(55.9% 0.208 259.7)

  • #C52786

    #C52786

    oklch(56% 0.209 349.6)

  • #986B00

    #986B00

    oklch(56% 0.116 79.5)

  • #00896A

    #00896A

    oklch(56% 0.111 169.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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