#5160B4

Closest named color: French Blue (#436BAD). oklch(51.9% 0.133 273.3), rgb(81, 96, 180).

Aa

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

About this color

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

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

Values

HEX#5160B4
RGBrgb(81, 96, 180)
HSLhsl(231, 40%, 51%)
OKLCHoklch(51.9% 0.133 273.3)

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 #5160B4 5.70:1 AA Lc -83.6 Fine for body text
Black text on #5160B4 3.68:1 AA large text Lc 25.7 Dividers and decoration only
#5160B4 text on white 5.70:1 AA Lc 78.3 Fine for body text
#5160B4 text on black 3.68:1 AA large text Lc -23.5 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

    #E5E9F7

    oklch(93.5% 0.019 273.2)

  3. Step 200

    200

    #D1D8F1

    oklch(88.5% 0.035 273.2)

  4. Step 300

    300

    #B3BEEB

    oklch(80.8% 0.065 274.1)

  5. Step 400

    400

    #8C9CE1

    oklch(70.7% 0.103 273.5)

  6. Step 500

    500

    #7082D8

    oklch(63.1% 0.131 273.2)

  7. Step 600

    600

    #596AC6

    oklch(55.6% 0.143 273)

  8. Step 700

    700 (this color)

    #5160B4

    oklch(51.9% 0.133 273.3)

  9. Step 800

    800

    #3C488A

    oklch(42.6% 0.11 273.1)

  10. Step 900

    900

    #333D6F

    oklch(37.7% 0.086 273.1)

  11. Step 950

    950

    #1E2441

    oklch(27% 0.055 273.4)

Export this scale for Tailwind in the Tailwind colors tool

#5160B4 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)#3A6BB70.035
Deuteranopia (no green cones)#2E62B20.038
Tritanopia (no blue cones)#1E72810.117
Achromatopsia (no color)#6666660.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #5160B4

    #5160B4

    oklch(51.9% 0.133 273.3)

  • #7D6600

    #7D6600

    oklch(51.8% 0.106 93.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5160B4

    #5160B4

    oklch(51.9% 0.133 273.3)

  • #006EAB

    #006EAB

    oklch(51.8% 0.127 243.6)

  • #7952A6

    #7952A6

    oklch(51.9% 0.133 303.5)

Open the analogous palette in the generator

Split complementary

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

  • #5160B4

    #5160B4

    oklch(51.9% 0.133 273.3)

  • #975700

    #975700

    oklch(51.9% 0.118 63.4)

  • #5B7400

    #5B7400

    oklch(52% 0.128 123.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5160B4

    #5160B4

    oklch(51.9% 0.133 273.3)

  • #A74632

    #A74632

    oklch(51.9% 0.133 33.3)

  • #007E42

    #007E42

    oklch(52% 0.133 153.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5160B4

    #5160B4

    oklch(51.9% 0.133 273.3)

  • #A44261

    #A44261

    oklch(51.9% 0.133 3.2)

  • #7D6600

    #7D6600

    oklch(51.8% 0.106 93.4)

  • #007A6E

    #007A6E

    oklch(52% 0.093 183)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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