#5160B1

Closest named color: French Blue (#436BAD). oklch(51.7% 0.128 273.2), rgb(81, 96, 177).

Aa

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

About this color

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

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

Values

HEX#5160B1
RGBrgb(81, 96, 177)
HSLhsl(231, 38%, 51%)
OKLCHoklch(51.7% 0.128 273.2)

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 #5160B1 5.74:1 AA Lc -83.8 Fine for body text
Black text on #5160B1 3.65:1 AA large text Lc 25.5 Dividers and decoration only
#5160B1 text on white 5.74:1 AA Lc 78.5 Fine for body text
#5160B1 text on black 3.65:1 AA large text Lc -23.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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E6E9F6

    oklch(93.6% 0.018 275.6)

  3. Step 200

    200

    #D1D8F1

    oklch(88.5% 0.035 273.2)

  4. Step 300

    300

    #B3BFEA

    oklch(81% 0.062 272.7)

  5. Step 400

    400

    #8C9CDF

    oklch(70.6% 0.1 273.3)

  6. Step 500

    500

    #7182D6

    oklch(63% 0.128 273.5)

  7. Step 600

    600

    #5A6AC3

    oklch(55.5% 0.138 273.4)

  8. Step 700

    700 (this color)

    #5160B1

    oklch(51.7% 0.128 273.2)

  9. Step 800

    800

    #3D4989

    oklch(42.8% 0.106 273.1)

  10. Step 900

    900

    #343D6D

    oklch(37.7% 0.083 273.8)

  11. Step 950

    950

    #1E2440

    oklch(27% 0.053 273.2)

Export this scale for Tailwind in the Tailwind colors tool

#5160B1 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)#3C6AB40.033
Deuteranopia (no green cones)#3162AF0.035
Tritanopia (no blue cones)#2272800.114
Achromatopsia (no color)#6666660.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #5160B1

    #5160B1

    oklch(51.7% 0.128 273.2)

  • #7D6600

    #7D6600

    oklch(51.8% 0.106 93.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5160B1

    #5160B1

    oklch(51.7% 0.128 273.2)

  • #006EAA

    #006EAA

    oklch(51.7% 0.126 243.2)

  • #7853A4

    #7853A4

    oklch(51.8% 0.128 303.3)

Open the analogous palette in the generator

Split complementary

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

  • #5160B1

    #5160B1

    oklch(51.7% 0.128 273.2)

  • #965600

    #965600

    oklch(51.6% 0.118 63.1)

  • #5A7300

    #5A7300

    oklch(51.7% 0.127 123.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5160B1

    #5160B1

    oklch(51.7% 0.128 273.2)

  • #A54734

    #A54734

    oklch(51.8% 0.129 33.1)

  • #0D7C43

    #0D7C43

    oklch(51.6% 0.128 153.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5160B1

    #5160B1

    oklch(51.7% 0.128 273.2)

  • #A24361

    #A24361

    oklch(51.7% 0.129 3)

  • #7D6600

    #7D6600

    oklch(51.8% 0.106 93.4)

  • #00796D

    #00796D

    oklch(51.7% 0.092 182.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5160B1.

Similar named colors

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

Use #5160B1 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.