#166DE8

Closest named color: Cerulean Blue (#056EEE). oklch(56.1% 0.202 259), rgb(22, 109, 232).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.202)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.38:1
White text4.78:1

Values

HEX#166DE8
RGBrgb(22, 109, 232)
HSLhsl(215, 83%, 50%)
OKLCHoklch(56.1% 0.202 259)

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 #166DE8 4.78:1 AA Lc -77.9 Fine for body text
Black text on #166DE8 4.38:1 AA large text Lc 31.6 Non-text elements, placeholder text
#166DE8 text on white 4.78:1 AA Lc 72.5 Content text, not long reading
#166DE8 text on black 4.38:1 AA large text Lc -29.2 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

    #C5DBFB

    oklch(88.5% 0.05 257.7)

  4. Step 300

    300

    #9DC2FC

    oklch(80.8% 0.092 259.2)

  5. Step 400

    400

    #67A0FA

    oklch(70.6% 0.146 259.2)

  6. Step 500

    500

    #3B85F7

    oklch(63% 0.186 259)

  7. Step 600

    600 (this color)

    #166DE8

    oklch(56.1% 0.202 259)

  8. Step 700

    700

    #0359C8

    oklch(49.1% 0.187 258.9)

  9. Step 800

    800

    #0A49A2

    oklch(42.6% 0.156 259.1)

  10. Step 900

    900

    #133E80

    oklch(37.6% 0.121 259.2)

  11. Step 950

    950

    #0D254B

    oklch(27% 0.077 259.3)

Export this scale for Tailwind in the Tailwind colors tool

#166DE8 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)#007CEC0.037
Deuteranopia (no green cones)#006AE60.011
Tritanopia (no blue cones)#008CA00.154
Achromatopsia (no color)#7272720.202

Harmonies

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

Complementary

The opposite hue (180°).

  • #166DE8

    #166DE8

    oklch(56.1% 0.202 259)

  • #996B00

    #996B00

    oklch(56.1% 0.117 78.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #166DE8

    #166DE8

    oklch(56.1% 0.202 259)

  • #0080A8

    #0080A8

    oklch(56.1% 0.11 228.9)

  • #7655E1

    #7655E1

    oklch(56% 0.203 289)

Open the analogous palette in the generator

Split complementary

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

  • #166DE8

    #166DE8

    oklch(56.1% 0.202 259)

  • #B85300

    #B85300

    oklch(56.1% 0.151 48.9)

  • #7B7A00

    #7B7A00

    oklch(56.2% 0.122 109.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #166DE8

    #166DE8

    oklch(56.1% 0.202 259)

  • #D12742

    #D12742

    oklch(56.1% 0.202 19.2)

  • #318B00

    #318B00

    oklch(56% 0.176 138.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #166DE8

    #166DE8

    oklch(56.1% 0.202 259)

  • #C32D87

    #C32D87

    oklch(56.1% 0.202 349)

  • #996B00

    #996B00

    oklch(56.1% 0.117 78.9)

  • #008969

    #008969

    oklch(56% 0.112 169)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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