Mallard
Mallard is a very dark, moderately saturated blue color with the hex code #254855 (hue 196°, saturation 39%, lightness 24%).
- HEX
#254855 - RGB
rgb(37 72 85) - HSL
hsl(196 39% 24%) - OKLCH
oklch(38.1% 0.046 224)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Mallard | #254855 | 37, 72, 85 | 196°, 39%, 24% | 56, 15, 0, 67 | 38.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.
- HEX
#254855 - RGB
rgb(37 72 85) - HSL
hsl(196 39% 24%)
Variations of Mallard
Text on Mallard
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
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
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.
- Mallard Complementary Color Scheme#254855#457E93#553322#20120E#9F5C42
- Mallard Analogous Color Scheme#245336#2A5443#254855#243256#372354
- Mallard Triadic Color Scheme#254855#4F284B#4B5320#448899#221111
- Mallard Split-complementary Color Scheme#254855#552233#584C25#161820#8C3F52
- Mallard Tetradic Color Scheme#254855#472557#553322#2A4F21#448899
- Mallard Monochromatic Color Scheme#0F1012#161820#254855#3C768A#549EB9
Nearest CSS named colors
- Dark Slate Gray (
darkslategray): Dark Slate Gray (#2F4F4F) is lighter than Mallard (relative luminance 0.068 vs 0.057) and less saturated, with its hue 16° away. - Dark Slate Blue (
darkslateblue): Dark Slate Blue (#483D8B) is lighter than Mallard (relative luminance 0.066 vs 0.057) and equally saturated, with its hue 52° away. - Dim Gray (
dimgray): Dim Gray (#696969) is lighter than Mallard (relative luminance 0.141 vs 0.057) and less saturated. - Midnight Blue (
midnightblue): Midnight Blue (#191970) is darker than Mallard (relative luminance 0.021 vs 0.057) and more saturated, with its hue 44° away.
Similar dark blue colors
- 20000 Leagues Under the Sea#191970
- 3AM in Shibuya#225577
- Abyssal#404C57
- Aegean Blue#1B416F
- Alone in the Dark#000066
- Assassin#2D4F83
- Astral#376F89
- Atlantic Navy#13336F
- Atlantis#336172
- Below the Surface#0A2F7C
- Beyond the Sea#005784
- Black Market#222244
- Black Sea Night#052462
- Black Turmeric#2C4364
- Blue Chip#1D5699
- Blue Funk#2D4470
- Blue Hour#0034AB
- Blue Screen of Death#0033BB
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.