Mallard color: hex code #254855
Mallard has the hex code #254855. It is a dark, desaturated azure.
In the RGB color model it is made of 14.5% red, 28.2% green and 33.3% blue (37, 72, 85).
Its hue angle is 196°, with 39% saturation and 24% lightness. For print, the CMYK equivalent is 56% cyan, 15% magenta, 0% yellow and 67% black.
White text is the more readable choice on this background (contrast 9.83:1).
Mallard (#254855) color codes
| HEX | #254855 | |
|---|---|---|
| RGB | rgb(37, 72, 85) | |
| RGB percent | rgb(14.5%, 28.2%, 33.3%) | |
| HSL | hsl(196, 39%, 24%) | |
| HSV / HSB | hsv(196, 56%, 33%) | |
| CMYK | cmyk(56%, 15%, 0%, 67%) | |
| CIE LAB | lab(28.6, -8.46, -11.63) | |
| CIE LCH | lch(28.6, 14.38, 233.94) | |
| CIE XYZ | xyz(4.719, 5.684, 9.441) | |
| Decimal | 2443349 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Mallard, 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 #254855 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.14:1 | Fail | Fail | Fail |
| Sample text | 9.83:1 | Pass | Pass | Pass |
| #254855 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.83:1 | Pass | Pass | Pass |
| Sample text | 2.14:1 | Fail | Fail | Fail |
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 #254855 looks to people with the most common types of color vision deficiency.
#414656Protanopia
no red cones#3a4155Deuteranopia
no green cones#074c4cTritanopia
no blue cones#434343Achromatopsia
no color vision
CSS examples
.background { background-color: #254855; }
.text { color: #254855; }
.border { border: 2px solid #254855; }
.transparent { background-color: rgb(37 72 85 / 50%); }
.gradient { background: linear-gradient(to right, #254855, #253055); }
Similar colors
#154250Cold and Dark#344d58Nocturne#2a4f61Shadow of Night#114c5aNocturnal Expedition#2d454aLittle Mermaid#23505aSunken Mystery#27454aMysterious Waters#253f4eDepths of the Nile
Closest common color name: Charcoal.
See #254855 on its hex code page
Questions
- What color is #254855?
- #254855 is a dark, desaturated azure known as Mallard. It belongs to the blue family of colors.
- What is the RGB value of Mallard?
- The RGB value is 37, 72, 85: 37 red, 72 green and 85 blue on a 0 to 255 scale.
- What is the complementary color of Mallard?
- The complementary color is #553225, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #254855?
- White text. Black text has a contrast ratio of 2.14:1 and white text 9.83:1. WCAG asks for at least 4.5:1 for normal text.