#166791

Closest named color: Peacock Blue (#016795). oklch(48.8% 0.099 237.6), rgb(22, 103, 145).

Aa

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

About this color

#166791 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 49%, its chroma 0.099 and its hue 238°. Its hue sits on the cool side of the wheel. The nearest named color is Peacock Blue (#016795), ΔE 0.008 away. White text reads best on it, at 6.20:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.099)
Temperaturecool
Nearest namePeacock Blue (#016795)
Black text3.38:1
White text6.20:1

Values

HEX#166791
RGBrgb(22, 103, 145)
HSLhsl(200, 74%, 33%)
OKLCHoklch(48.8% 0.099 237.6)

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 #166791 6.20:1 AA Lc -85.7 Fine for body text
Black text on #166791 3.38:1 AA large text Lc 23.5 Dividers and decoration only
#166791 text on white 6.20:1 AA Lc 80.5 Fine for body text
#166791 text on black 3.38:1 AA large text Lc -21.3 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 700.

  1. Step 50

    50

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E2EBF2

    oklch(93.5% 0.014 241)

  3. Step 200

    200

    #CADCE9

    oklch(88.5% 0.026 239.1)

  4. Step 300

    300

    #A4C6DC

    oklch(80.9% 0.048 236.6)

  5. Step 400

    400

    #72A8CB

    oklch(70.7% 0.077 237.7)

  6. Step 500

    500

    #4992BE

    oklch(63.1% 0.099 237.6)

  7. Step 600

    600

    #267BAA

    oklch(55.5% 0.107 237.9)

  8. Step 700

    700 (this color)

    #166791

    oklch(48.8% 0.099 237.6)

  9. Step 800

    800

    #175576

    oklch(42.7% 0.082 237)

  10. Step 900

    900

    #1B465F

    oklch(37.6% 0.064 237.4)

  11. Step 950

    950

    #112938

    oklch(26.9% 0.041 238.3)

Export this scale for Tailwind in the Tailwind colors tool

#166791 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)#5367930.055
Deuteranopia (no green cones)#425C900.044
Tritanopia (no blue cones)#0072760.064
Achromatopsia (no color)#6161610.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #166791

    #166791

    oklch(48.8% 0.099 237.6)

  • #89501E

    #89501E

    oklch(48.9% 0.099 58)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #166791

    #166791

    oklch(48.8% 0.099 237.6)

  • #006D78

    #006D78

    oklch(48.9% 0.084 207)

  • #475D98

    #475D98

    oklch(48.9% 0.099 267.3)

Open the analogous palette in the generator

Split complementary

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

  • #166791

    #166791

    oklch(48.8% 0.099 237.6)

  • #904840

    #904840

    oklch(48.9% 0.099 27.8)

  • #785C02

    #785C02

    oklch(49% 0.099 87.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #166791

    #166791

    oklch(48.8% 0.099 237.6)

  • #8C4660

    #8C4660

    oklch(48.9% 0.099 357.9)

  • #5C671B

    #5C671B

    oklch(48.9% 0.099 117.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #166791

    #166791

    oklch(48.8% 0.099 237.6)

  • #7D4A7D

    #7D4A7D

    oklch(48.8% 0.1 327)

  • #89501E

    #89501E

    oklch(48.9% 0.099 58)

  • #346F3E

    #346F3E

    oklch(48.9% 0.099 147.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #166791 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.