Skip to content
Kolorvia
#5165ab

Color #5165ab

A muted medium blue.

Conversions

HEX
#5165ab
RGB
rgb(81, 101, 171)
HSL
hsl(226.7, 35.7%, 49.4%)
HSV / HSB
hsv(226.7, 52.6%, 67.1%)
CMYK
cmyk(52.6%, 40.9%, 0%, 32.9%)
LAB
lab(44.23, 12.95, -39.89)
LCH
lch(44.23, 41.94, 287.99)
OKLCH
oklch(52.4%, 0.113, 270.1)
HWB
hwb(226.7, 31.8%, 32.9%)

Harmony colors

Complementary

#ab9751

Analogous

#5192ab
#5165ab
#6a51ab

Triadic

#5165ab
#ab5165
#65ab51

Split-complementary

#5165ab
#ab6a51
#92ab51

Tetradic

#5165ab
#9751ab
#ab9751
#65ab51

Square

#5165ab
#ab5192
#ab9751
#51ab6a

Shades

Color #5165ab mixed toward black.

#43548e
#364372
#283255
#1b2239
#0d111c

Tints

Color #5165ab mixed toward white.

#6d7eba
#8a98c8
#a7b2d6
#c5cbe3
#e2e5f1

Tones

Color #5165ab mixed toward gray.

#5869a3
#606d9c
#677194
#6f768d
#767a85

Accessibility

Aa White text on this color
5.53:1
Aa Black text on this color
3.8:1

White text reads better on this background (5.53:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#5a5b9e · ΔE 5.4

Deuteranopia

#59589a · ΔE 6.4

Tritanopia

#52928f · ΔE 29.1

Achromatopsia

#696969 · ΔE 21.9

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #5165ab;
Tailwind (arbitrary value)
bg-[#5165ab]

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Light Steel Blue #b0c4de
Navy #000080
Lavender #e6e6fa
Blue #0000ff

Frequently asked questions

#5165ab (#5165ab) is rgb(81, 101, 171) in RGB.

No, #5165ab is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #5165ab, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.