#51839B color
The hex color #51839B is a desaturated azure.
In the RGB color model it is made of 31.8% red, 51.4% green and 60.8% blue (81, 131, 155).
Its hue angle is 199°, with 31% saturation and 46% lightness. For print, the CMYK equivalent is 48% cyan, 15% magenta, 0% yellow and 39% black.
The closest named color is Underwater Moonlight (#4488AA), a difference of 3.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.07:1).
#51839B color codes
| HEX | #51839B | |
|---|---|---|
| RGB | rgb(81, 131, 155) | |
| RGB percent | rgb(31.8%, 51.4%, 60.8%) | |
| HSL | hsl(199, 31%, 46%) | |
| HSV / HSB | hsv(199, 48%, 61%) | |
| CMYK | cmyk(48%, 15%, 0%, 39%) | |
| CIE LAB | lab(52.23, -10.05, -18.07) | |
| CIE LCH | lch(52.23, 20.68, 240.92) | |
| CIE XYZ | xyz(17.424, 20.347, 34.013) | |
| Decimal | 5342107 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #51839B, 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 #51839B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.07:1 | Pass | Fail | Pass |
| Sample text | 4.14:1 | Fail | Fail | Pass |
| #51839B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.14:1 | Fail | Fail | Pass |
| Sample text | 5.07:1 | Pass | Fail | Pass |
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 #51839B looks to people with the most common types of color vision deficiency.
#77819cProtanopia
no red cones#6c799bDeuteranopia
no green cones#2e8a8bTritanopia
no blue cones#7d7d7dAchromatopsia
no color vision
CSS examples
.background { background-color: #51839b; }
.text { color: #51839b; }
.border { border: 2px solid #51839b; }
.transparent { background-color: rgb(81 131 155 / 50%); }
.gradient { background: linear-gradient(to right, #51839b, #515e9b); }
Similar colors
#4488aaUnderwater Moonlight#5d8aa8Air Force Blue#607c8eWhale Shark#5d7b89Night Owl#648894Horizon#427898Cry Me a River#658faaTreasure Map Waters#497a9fZenith
Questions
- What color is #51839B?
- #51839B is a desaturated azure, closest to the named color Underwater Moonlight. It belongs to the blue family of colors.
- What is the RGB value of #51839B?
- The RGB value is 81, 131, 155: 81 red, 131 green and 155 blue on a 0 to 255 scale.
- What is the complementary color of #51839B?
- The complementary color is #9B6951, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #51839B?
- Black text. Black text has a contrast ratio of 5.07:1 and white text 4.14:1. WCAG asks for at least 4.5:1 for normal text.