#51597B color

#51597B rgb(81, 89, 123)
Shades of blue

The hex color #51597B is a grayish blue.

In the RGB color model it is made of 31.8% red, 34.9% green and 48.2% blue (81, 89, 123).

Its hue angle is 229°, with 21% saturation and 40% lightness. For print, the CMYK equivalent is 34% cyan, 28% magenta, 0% yellow and 52% black.

The closest named color is Deep Indigo (#4C567A), a difference of 1.4 ΔE, which is barely visible.

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

#51597B color codes

HEX#51597B
RGBrgb(81, 89, 123)
RGB percentrgb(31.8%, 34.9%, 48.2%)
HSLhsl(229, 21%, 40%)
HSV / HSBhsv(229, 34%, 48%)
CMYKcmyk(34%, 28%, 0%, 52%)
CIE LABlab(38.42, 5.66, -20.19)
CIE LCHlch(38.42, 20.97, 285.65)
CIE XYZxyz(10.54, 10.324, 20.172)
Decimal5331323
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #51597B, 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 #51597BRatioAAAAAAA large
Sample text3.06:1FailFailPass
Sample text6.85:1PassFailPass
#51597B as text onRatioAAAAAAA large
Sample text6.85:1PassFailPass
Sample text3.06: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 #51597B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #51597b; }
.text { color: #51597b; }
.border { border: 2px solid #51597b; }
.transparent { background-color: rgb(81 89 123 / 50%); }
.gradient { background: linear-gradient(to right, #51597b, #5e517b); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #51597B?
#51597B is a grayish blue, closest to the named color Deep Indigo. It belongs to the blue family of colors.
What is the RGB value of #51597B?
The RGB value is 81, 89, 123: 81 red, 89 green and 123 blue on a 0 to 255 scale.
What is the complementary color of #51597B?
The complementary color is #7B7351, found by rotating the hue 180° on the color wheel.
Is black or white text better on #51597B?
White text. Black text has a contrast ratio of 3.06:1 and white text 6.85:1. WCAG asks for at least 4.5:1 for normal text.