#5161AB

Closest named color: French Blue (#436BAD). oklch(51.5% 0.118 272.4), rgb(81, 97, 171).

Aa

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

About this color

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

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

Values

HEX#5161AB
RGBrgb(81, 97, 171)
HSLhsl(229, 36%, 49%)
OKLCHoklch(51.5% 0.118 272.4)

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 #5161AB 5.75:1 AA Lc -83.9 Fine for body text
Black text on #5161AB 3.64:1 AA large text Lc 25.4 Dividers and decoration only
#5161AB text on white 5.75:1 AA Lc 78.6 Fine for body text
#5161AB text on black 3.64:1 AA large text Lc -23.1 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

    #E6E9F5

    oklch(93.5% 0.016 274.8)

  3. Step 200

    200

    #D2D8EF

    oklch(88.5% 0.032 274.1)

  4. Step 300

    300

    #B4BFE6

    oklch(80.9% 0.056 272.7)

  5. Step 400

    400

    #8D9DDA

    oklch(70.7% 0.091 272.6)

  6. Step 500

    500

    #7184D0

    oklch(63.1% 0.117 272)

  7. Step 600

    600

    #5B6CBD

    oklch(55.6% 0.127 272.7)

  8. Step 700

    700 (this color)

    #5161AB

    oklch(51.5% 0.118 272.4)

  9. Step 800

    800

    #3D4A84

    oklch(42.7% 0.097 272.2)

  10. Step 900

    900

    #343E6A

    oklch(37.7% 0.076 272.6)

  11. Step 950

    950

    #1E253E

    oklch(27.1% 0.048 271.1)

Export this scale for Tailwind in the Tailwind colors tool

#5161AB 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)#426AAE0.028
Deuteranopia (no green cones)#3962A90.028
Tritanopia (no blue cones)#28717D0.106
Achromatopsia (no color)#6666660.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #5161AB

    #5161AB

    oklch(51.5% 0.118 272.4)

  • #7D6500

    #7D6500

    oklch(51.5% 0.105 92.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5161AB

    #5161AB

    oklch(51.5% 0.118 272.4)

  • #0F6EA5

    #0F6EA5

    oklch(51.6% 0.118 242.1)

  • #75559F

    #75559F

    oklch(51.6% 0.118 302.4)

Open the analogous palette in the generator

Split complementary

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

  • #5161AB

    #5161AB

    oklch(51.5% 0.118 272.4)

  • #965500

    #965500

    oklch(51.4% 0.118 62.3)

  • #5C7212

    #5C7212

    oklch(51.6% 0.118 122.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5161AB

    #5161AB

    oklch(51.5% 0.118 272.4)

  • #A04A39

    #A04A39

    oklch(51.5% 0.118 32.7)

  • #217A45

    #217A45

    oklch(51.4% 0.117 152.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5161AB

    #5161AB

    oklch(51.5% 0.118 272.4)

  • #9D4762

    #9D4762

    oklch(51.6% 0.118 2.3)

  • #7D6500

    #7D6500

    oklch(51.5% 0.105 92.5)

  • #00786C

    #00786C

    oklch(51.4% 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 #5161AB, closest first.

No curated palette has a color within ΔE 0.04 of #5161AB.

Similar named colors

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

Use #5161AB 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.