#51549A color

#51549A rgb(81, 84, 154)
Shades of blue

The hex color #51549A is a desaturated blue.

In the RGB color model it is made of 31.8% red, 32.9% green and 60.4% blue (81, 84, 154).

Its hue angle is 238°, with 31% saturation and 46% lightness. For print, the CMYK equivalent is 47% cyan, 45% magenta, 0% yellow and 40% black.

The closest named color is Twilight (#4E518B), a difference of 2.8 ΔE, a small difference.

White text is the more readable choice on this background (contrast 6.81:1).

#51549A color codes

HEX#51549A
RGBrgb(81, 84, 154)
RGB percentrgb(31.8%, 32.9%, 60.4%)
HSLhsl(238, 31%, 46%)
HSV / HSBhsv(238, 47%, 60%)
CMYKcmyk(47%, 45%, 0%, 40%)
CIE LABlab(38.59, 18.25, -38.75)
CIE LCHlch(38.59, 42.83, 295.22)
CIE XYZxyz(12.395, 10.422, 31.924)
Decimal5330074
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #51549A, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #51549ARatioAAAAAAA large
Sample text3.08:1FailFailPass
Sample text6.81:1PassFailPass
#51549A as text onRatioAAAAAAA large
Sample text6.81:1PassFailPass
Sample text3.08:1FailFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #51549A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #51549a; }
.text { color: #51549a; }
.border { border: 2px solid #51549a; }
.transparent { background-color: rgb(81 84 154 / 50%); }
.gradient { background: linear-gradient(to right, #51549a, #72519a); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #51549A?
#51549A is a desaturated blue, closest to the named color Twilight. It belongs to the blue family of colors.
What is the RGB value of #51549A?
The RGB value is 81, 84, 154: 81 red, 84 green and 154 blue on a 0 to 255 scale.
What is the complementary color of #51549A?
The complementary color is #9A9751, found by rotating the hue 180° on the color wheel.
Is black or white text better on #51549A?
White text. Black text has a contrast ratio of 3.08:1 and white text 6.81:1. WCAG asks for at least 4.5:1 for normal text.