#0166A4

Closest named color: Peacock Blue (#016795). oklch(49.4% 0.126 245.8), rgb(1, 102, 164).

Aa

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

About this color

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

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

Values

HEX#0166A4
RGBrgb(1, 102, 164)
HSLhsl(203, 99%, 32%)
OKLCHoklch(49.4% 0.126 245.8)

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 #0166A4 6.10:1 AA Lc -85.1 Fine for body text
Black text on #0166A4 3.43:1 AA large text Lc 24.2 Dividers and decoration only
#0166A4 text on white 6.10:1 AA Lc 79.9 Fine for body text
#0166A4 text on black 3.43:1 AA large text Lc -22.0 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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF5

    oklch(93.5% 0.017 248)

  3. Step 200

    200

    #C8DCEF

    oklch(88.5% 0.034 246.8)

  4. Step 300

    300

    #A1C5E6

    oklch(80.8% 0.061 246.3)

  5. Step 400

    400

    #6BA7DA

    oklch(70.8% 0.098 245.4)

  6. Step 500

    500

    #3F90D0

    oklch(63.2% 0.125 245.5)

  7. Step 600

    600

    #1478BD

    oklch(55.5% 0.136 246.1)

  8. Step 700

    700 (this color)

    #0166A4

    oklch(49.4% 0.126 245.8)

  9. Step 800

    800

    #0A5384

    oklch(42.8% 0.104 245.6)

  10. Step 900

    900

    #14456A

    oklch(37.8% 0.082 245.5)

  11. Step 950

    950

    #0E283E

    oklch(26.9% 0.052 246.9)

Export this scale for Tailwind in the Tailwind colors tool

#0166A4 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)#4769A70.048
Deuteranopia (no green cones)#305CA30.033
Tritanopia (no blue cones)#00757D0.087
Achromatopsia (no color)#6262620.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #0166A4

    #0166A4

    oklch(49.4% 0.126 245.8)

  • #8B5200

    #8B5200

    oklch(49.3% 0.11 65.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0166A4

    #0166A4

    oklch(49.4% 0.126 245.8)

  • #006E81

    #006E81

    oklch(49.5% 0.088 215.1)

  • #4F58A8

    #4F58A8

    oklch(49.3% 0.127 275.9)

Open the analogous palette in the generator

Split complementary

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

  • #0166A4

    #0166A4

    oklch(49.4% 0.126 245.8)

  • #9C422A

    #9C422A

    oklch(49.5% 0.126 35.9)

  • #736000

    #736000

    oklch(49.3% 0.101 95.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0166A4

    #0166A4

    oklch(49.4% 0.126 245.8)

  • #9A3D57

    #9A3D57

    oklch(49.4% 0.126 5.6)

  • #506D00

    #506D00

    oklch(49.4% 0.125 125.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0166A4

    #0166A4

    oklch(49.4% 0.126 245.8)

  • #8C427D

    #8C427D

    oklch(49.5% 0.126 335.6)

  • #8B5200

    #8B5200

    oklch(49.3% 0.11 65.4)

  • #007543

    #007543

    oklch(49.4% 0.12 155.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0166A4 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.