#5160BA

Closest named color: Iris (#6258C4). oklch(52.3% 0.141 273.4), rgb(81, 96, 186).

Aa

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

About this color

#5160BA is a medium-dark, vivid blue. In OKLCH its lightness is 52%, its chroma 0.141 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.034 away. White text reads best on it, at 5.62:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromavivid (0.141)
Temperaturecool
Nearest nameIris (#6258C4)
Black text3.73:1
White text5.62:1

Values

HEX#5160BA
RGBrgb(81, 96, 186)
HSLhsl(231, 43%, 52%)
OKLCHoklch(52.3% 0.141 273.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 #5160BA 5.62:1 AA Lc -83.2 Fine for body text
Black text on #5160BA 3.73:1 AA large text Lc 26.2 Dividers and decoration only
#5160BA text on white 5.62:1 AA Lc 77.9 Fine for body text
#5160BA text on black 3.73: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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F8

    oklch(93.5% 0.021 274)

  3. Step 200

    200

    #D1D8F3

    oklch(88.5% 0.038 274.1)

  4. Step 300

    300

    #B2BEEE

    oklch(80.9% 0.069 273.8)

  5. Step 400

    400

    #8B9BE5

    oklch(70.6% 0.11 273.9)

  6. Step 500

    500

    #6F81DD

    oklch(63.1% 0.14 273.4)

  7. Step 600

    600

    #5869CB

    oklch(55.7% 0.152 273.1)

  8. Step 700

    700 (this color)

    #5160BA

    oklch(52.3% 0.141 273.4)

  9. Step 800

    800

    #3C478E

    oklch(42.7% 0.117 273.8)

  10. Step 900

    900

    #333C71

    oklch(37.6% 0.091 274)

  11. Step 950

    950

    #1E2442

    oklch(27.1% 0.056 273.5)

Export this scale for Tailwind in the Tailwind colors tool

#5160BA 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)#356CBD0.040
Deuteranopia (no green cones)#2663B80.043
Tritanopia (no blue cones)#1374840.125
Achromatopsia (no color)#6767670.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #5160BA

    #5160BA

    oklch(52.3% 0.141 273.4)

  • #7F6800

    #7F6800

    oklch(52.4% 0.107 93.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5160BA

    #5160BA

    oklch(52.3% 0.141 273.4)

  • #0070AD

    #0070AD

    oklch(52.4% 0.127 243.2)

  • #7B51AB

    #7B51AB

    oklch(52.2% 0.141 303.4)

Open the analogous palette in the generator

Split complementary

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

  • #5160BA

    #5160BA

    oklch(52.3% 0.141 273.4)

  • #985800

    #985800

    oklch(52.3% 0.119 63.7)

  • #5B7500

    #5B7500

    oklch(52.3% 0.129 123.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5160BA

    #5160BA

    oklch(52.3% 0.141 273.4)

  • #AC442E

    #AC442E

    oklch(52.4% 0.141 33.6)

  • #007F43

    #007F43

    oklch(52.3% 0.134 153.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5160BA

    #5160BA

    oklch(52.3% 0.141 273.4)

  • #A93F61

    #A93F61

    oklch(52.3% 0.142 3.5)

  • #7F6800

    #7F6800

    oklch(52.4% 0.107 93.6)

  • #007B6F

    #007B6F

    oklch(52.3% 0.093 183.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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