#5166BD

Closest named color: French Blue (#436BAD). oklch(53.7% 0.138 270.9), rgb(81, 102, 189).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.138)
Temperaturecool
Nearest nameFrench Blue (#436BAD)
Black text3.98:1
White text5.26:1

Values

HEX#5166BD
RGBrgb(81, 102, 189)
HSLhsl(228, 45%, 53%)
OKLCHoklch(53.7% 0.138 270.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 #5166BD 5.26:1 AA Lc -81.3 Fine for body text
Black text on #5166BD 3.98:1 AA large text Lc 28.1 Dividers and decoration only
#5166BD text on white 5.26:1 AA Lc 76.0 Fine for body text
#5166BD text on black 3.98:1 AA large text Lc -25.8 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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E5EAF6

    oklch(93.7% 0.017 267.8)

  3. Step 200

    200

    #D0D8F1

    oklch(88.4% 0.035 271.5)

  4. Step 300

    300

    #B1BFEA

    oklch(80.8% 0.063 270.8)

  5. Step 400

    400

    #899DDF

    oklch(70.6% 0.1 270.8)

  6. Step 500

    500

    #6D84D6

    oklch(63.2% 0.126 270.6)

  7. Step 600

    600 (this color)

    #5166BD

    oklch(53.7% 0.138 270.9)

  8. Step 700

    700

    #4759A9

    oklch(49.1% 0.129 271.4)

  9. Step 800

    800

    #3A4989

    oklch(42.6% 0.107 271.3)

  10. Step 900

    900

    #313E6D

    oklch(37.7% 0.082 270.4)

  11. Step 950

    950

    #1D2540

    oklch(27.1% 0.052 270.2)

Export this scale for Tailwind in the Tailwind colors tool

#5166BD 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)#3E71C00.033
Deuteranopia (no green cones)#2F67BB0.035
Tritanopia (no blue cones)#0779880.123
Achromatopsia (no color)#6C6C6C0.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #5166BD

    #5166BD

    oklch(53.7% 0.138 270.9)

  • #866A00

    #866A00

    oklch(53.7% 0.11 90.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5166BD

    #5166BD

    oklch(53.7% 0.138 270.9)

  • #0075AF

    #0075AF

    oklch(53.7% 0.125 240.9)

  • #7C57B0

    #7C57B0

    oklch(53.6% 0.138 301.1)

Open the analogous palette in the generator

Split complementary

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

  • #5166BD

    #5166BD

    oklch(53.7% 0.138 270.9)

  • #A05900

    #A05900

    oklch(53.6% 0.125 60.8)

  • #637800

    #637800

    oklch(53.6% 0.129 121)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5166BD

    #5166BD

    oklch(53.7% 0.138 270.9)

  • #AF4939

    #AF4939

    oklch(53.7% 0.137 31)

  • #148341

    #148341

    oklch(53.6% 0.138 150.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5166BD

    #5166BD

    oklch(53.7% 0.138 270.9)

  • #AB4569

    #AB4569

    oklch(53.6% 0.138 0.9)

  • #866A00

    #866A00

    oklch(53.7% 0.11 90.4)

  • #008071

    #008071

    oklch(53.8% 0.097 180.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5166BD.

Similar named colors

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

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