#5166A0

Closest named color: French Blue (#436BAD). oklch(52% 0.096 267.9), rgb(81, 102, 160).

Aa

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

About this color

#5166A0 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 52%, its chroma 0.096 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is French Blue (#436BAD), ΔE 0.026 away. White text reads best on it, at 5.58:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.096)
Temperaturecool
Nearest nameFrench Blue (#436BAD)
Black text3.75:1
White text5.58:1

Values

HEX#5166A0
RGBrgb(81, 102, 160)
HSLhsl(224, 33%, 47%)
OKLCHoklch(52% 0.096 267.9)

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 #5166A0 5.58:1 AA Lc -83.1 Fine for body text
Black text on #5166A0 3.75:1 AA large text Lc 26.2 Dividers and decoration only
#5166A0 text on white 5.58:1 AA Lc 77.8 Fine for body text
#5166A0 text on black 3.75:1 AA large text Lc -23.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 700.

  1. Step 50

    50

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E6EAF3

    oklch(93.7% 0.013 266.7)

  3. Step 200

    200

    #D2D9EB

    oklch(88.5% 0.026 268.8)

  4. Step 300

    300

    #B4C0DF

    oklch(80.9% 0.046 268.6)

  5. Step 400

    400

    #8D9FD0

    oklch(70.7% 0.075 268.8)

  6. Step 500

    500

    #7187C3

    oklch(63.1% 0.094 268.2)

  7. Step 600

    600

    #5970B0

    oklch(55.6% 0.104 268)

  8. Step 700

    700 (this color)

    #5166A0

    oklch(52% 0.096 267.9)

  9. Step 800

    800

    #3C4D7A

    oklch(42.7% 0.078 267.4)

  10. Step 900

    900

    #334063

    oklch(37.7% 0.063 267.8)

  11. Step 950

    950

    #1E263A

    oklch(27.1% 0.039 267.1)

Export this scale for Tailwind in the Tailwind colors tool

#5166A0 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)#506CA20.017
Deuteranopia (no green cones)#48659F0.012
Tritanopia (no blue cones)#31727B0.086
Achromatopsia (no color)#6868680.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #5166A0

    #5166A0

    oklch(52% 0.096 267.9)

  • #80651A

    #80651A

    oklch(52% 0.096 87.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5166A0

    #5166A0

    oklch(52% 0.096 267.9)

  • #287099

    #287099

    oklch(52% 0.095 237.8)

  • #705C99

    #705C99

    oklch(52% 0.096 298.1)

Open the analogous palette in the generator

Split complementary

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

  • #5166A0

    #5166A0

    oklch(52% 0.096 267.9)

  • #915A2B

    #915A2B

    oklch(52% 0.095 58.8)

  • #64702A

    #64702A

    oklch(52% 0.095 118)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5166A0

    #5166A0

    oklch(52% 0.096 267.9)

  • #985249

    #985249

    oklch(52% 0.095 28.4)

  • #3F7848

    #3F7848

    oklch(52% 0.096 147.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5166A0

    #5166A0

    oklch(52% 0.096 267.9)

  • #945069

    #945069

    oklch(52% 0.095 357.5)

  • #80651A

    #80651A

    oklch(52% 0.096 87.8)

  • #017A69

    #017A69

    oklch(51.9% 0.095 178.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5166A0 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.