#166BE7

Closest named color: Cerulean Blue (#056EEE). oklch(55.6% 0.203 259.3), rgb(22, 107, 231).

Aa

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

About this color

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

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

Values

HEX#166BE7
RGBrgb(22, 107, 231)
HSLhsl(216, 83%, 50%)
OKLCHoklch(55.6% 0.203 259.3)

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 #166BE7 4.89:1 AA Lc -78.6 Fine for body text
Black text on #166BE7 4.29:1 AA large text Lc 30.9 Non-text elements, placeholder text
#166BE7 text on white 4.89:1 AA Lc 73.2 Content text, not long reading
#166BE7 text on black 4.29:1 AA large text Lc -28.5 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

    #9DC2FC

    oklch(80.8% 0.092 259.2)

  5. Step 400

    400

    #67A0FB

    oklch(70.7% 0.147 259.4)

  6. Step 500

    500

    #3C85F8

    oklch(63.1% 0.187 259.3)

  7. Step 600

    600 (this color)

    #166BE7

    oklch(55.6% 0.203 259.3)

  8. Step 700

    700

    #0658C9

    oklch(49% 0.189 259.4)

  9. Step 800

    800

    #0C49A2

    oklch(42.7% 0.156 259.3)

  10. Step 900

    900

    #133E81

    oklch(37.6% 0.123 259.4)

  11. Step 950

    950

    #0D254B

    oklch(27% 0.077 259.3)

Export this scale for Tailwind in the Tailwind colors tool

#166BE7 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)#007AEB0.037
Deuteranopia (no green cones)#0068E50.011
Tritanopia (no blue cones)#008A9F0.154
Achromatopsia (no color)#7171710.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #166BE7

    #166BE7

    oklch(55.6% 0.203 259.3)

  • #976A00

    #976A00

    oklch(55.7% 0.116 79.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #166BE7

    #166BE7

    oklch(55.6% 0.203 259.3)

  • #007EA6

    #007EA6

    oklch(55.5% 0.11 229.3)

  • #7553DF

    #7553DF

    oklch(55.5% 0.203 289.3)

Open the analogous palette in the generator

Split complementary

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

  • #166BE7

    #166BE7

    oklch(55.6% 0.203 259.3)

  • #B55200

    #B55200

    oklch(55.5% 0.149 49.2)

  • #797800

    #797800

    oklch(55.5% 0.121 109.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #166BE7

    #166BE7

    oklch(55.6% 0.203 259.3)

  • #CF2440

    #CF2440

    oklch(55.5% 0.203 19.2)

  • #2D8A00

    #2D8A00

    oklch(55.6% 0.177 139.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #166BE7

    #166BE7

    oklch(55.6% 0.203 259.3)

  • #C22A85

    #C22A85

    oklch(55.6% 0.203 349.4)

  • #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 #166BE7, closest first.

Similar named colors

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

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