Huebook

Mallard

Mallard is a very dark, moderately saturated blue color with the hex code #254855 (hue 196°, saturation 39%, lightness 24%).

#254855
NameHEXRGBHSLCMYKOKLCH
Mallard#25485537, 72, 85196°, 39%, 24%56, 15, 0, 6738.1% 0.046 224

Contrast with white text 9.83:1, with black text 2.14:1 — use white text on Mallard.

Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work

Adjust Mallard

Move the sliders to make Mallard lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Mallard
  • HEX#254855
  • RGBrgb(37 72 85)
  • HSLhsl(196 39% 24%)

Variations of Mallard

Text on Mallard

White textThe quick brown fox9.83:1 · AA pass · AAA pass
Black textThe quick brown fox2.14:1 · AA fail · AAA fail

WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.

Mallard with color blindness

Normal #254855
Protanopia #414656
Deuteranopia #3A4155
Tritanopia #074C4C

How Mallard appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.

Tints and shades

#DBEAF0
#A6CBD8
#71ABC1
#4687A0
#2E5A6B
#172D35

Colors that go with Mallard

Six color schemes built on Mallard with classic harmony rules. The complementary scheme pairs it with Wild Boar (#553322), the color opposite it on the color wheel.

Nearest CSS named colors

Similar dark blue colors

Questions

What is the hex code for Mallard?

#254855 — RGB 37, 72, 85, HSL 196°, 39%, 24%.

Is Mallard a warm or cool color?

Cool — its hue sits at 196° on the color wheel.