denim blue color code
The hex code for denim blue is #1560BD, which is rgb(21, 96, 189) in RGB and cmyk(89%, 49%, 0%, 26%) in CMYK. It's a medium, rich blue. There is no official standard for denim blue; #1560BD is the value most colour references use.
Build a full palette from it: open in the palette generator.
Move the sliders to find a lighter, darker or softer denim blue; the codes update as you go.
Denim Blue colour codes
| HEX | #1560BD |
|---|---|
| RGB | rgb(21, 96, 189) |
| HSL | hsl(213, 80%, 41%) |
| HSV / HSB | hsv(213, 89%, 74%) |
| CMYK | cmyk(89%, 49%, 0%, 26%) |
| Decimal | 1401021 |
About denim blue
Denim Blue sits at a hue of 213° on the colour wheel, with 80% saturation and 41% lightness. That makes it a cool colour: cool colours feel calm and steady and appear to recede, so they work well for large areas.
Named after the colour of blue denim fabric.
For text, white reads better on denim blue. Denim Blue as text on a white background has a contrast ratio of 6.1:1, which passes the WCAG AA rule for body text (4.5:1). On black it is 3.43:1, which fails AA for body text.
Tints and shades of denim blue
Tints mix denim blue with white and shades mix it with black, in 10% steps. They're the easiest way to get lighter backgrounds and darker hover or text colours that still match.
Colours that go with denim blue
Complementary — opposite on the colour wheel: maximum contrast
Analogous — neighbours 30° either side: calm and natural
Triadic — three hues 120° apart: lively but balanced
Split complementary — the two neighbours of the complement: contrast with less tension
Tetradic — four hues 90° apart: rich, use one as the main colour
Denim Blue text contrast
| Combination | Ratio | AA normal (4.5:1) | AA large (3:1) | AAA (7:1) |
|---|---|---|---|---|
| denim blue on white | 6.1:1 | pass | pass | fail |
| denim blue on black | 3.43:1 | fail | pass | fail |
Check denim blue against any other colour in the contrast checker.
How denim blue looks with colour blindness
Simulated with the Machado et al. (2009) model for the complete loss of one type of cone cell. Colour vision deficiency affects roughly 1 in 12 men and 1 in 200 women, most often as red-green colour blindness.
Use denim blue in code
.denim-blue {
color: #1560bd;
background-color: #1560bd;
border-color: rgb(21, 96, 189);
}Frequently asked questions
What is the hex code for denim blue?
#1560BD is the most widely used value for denim blue. There's no official standard, so paint, fabric and brand swatches called denim blue can differ slightly; use the hex code to match it exactly on screen.
What is denim blue in RGB, HSL and CMYK?
RGB: rgb(21, 96, 189). HSL: hsl(213, 80%, 41%). CMYK: cmyk(89%, 49%, 0%, 26%). CMYK is a simple conversion for reference; for professional printing, ask your printer for a matching ink or Pantone swatch.
What colours go with denim blue?
Its complementary colour is #BD7215 (close to ochre), which gives the strongest contrast. For a calmer look, use the analogous colours #15B4BD and #1E15BD, or the triadic pair #BD1560 and #60BD15. Tints and shades of denim blue itself always work together.
Is denim blue a warm or cool colour?
Denim Blue has a hue of 213°, which makes it cool.
Should I use black or white text on denim blue?
White. Black text on denim blue has a contrast ratio of 3.43:1 and white text has 6.1:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
Is denim blue a CSS colour name?
No. Denim Blue isn't one of the named colours built into CSS, so write it as a hex code: color: #1560bd;