Home /Compare /Denim vs Cobalt

Denim vs Cobalt: What's the Difference?

The main difference between Denim and Cobalt is brightness and saturation: both are blue shades, but Denim is lighter and Cobalt is more saturated. Denim and Cobalt are often confused but have distinct differences in hue, saturation, and tone. Denim (#1560BD) and Cobalt (#0047AB) each suit different design contexts — understanding their differences helps you choose the right color for your project.

Denim#1560BD
Cobalt#0047AB
#1560BDBlended: #0B54B4#0047AB
ShareSave to PinterestTweet

Denim vs Cobalt: Key Differences at a Glance

Aspect Denim Cobalt
BrightnessMedium (L=41%) — balanced, versatileDark (L=34%) — rich, serious, substantial
SaturationVivid (S=80%) — bright, energetic, eye-catchingVivid (S=100%) — bright, energetic, eye-catching
Hue familyBlueBlue
TemperatureCoolCool
Hex code#1560BD#0047AB
RGB21, 96, 1890, 71, 171

Can you use Denim and Cobalt together?

Cobalt text on Denim
Denim text on Cobalt
Contrast Ratio:1.38:1Insufficient Contrast

How to Tell Denim and Cobalt Apart

  • Check saturation: Cobalt looks more vivid and saturated.
  • Compare them on a white background to see true saturation, and on black to see true lightness.

Denim or Cobalt: Which to Use and Where

Four real design scenarios, with the recommended pick based on hue, saturation, and WCAG contrast.

Branding & logos
PickCobalt

Cobalt is more saturated (100% HSL vs 80%) so it reads as bolder and more memorable at logo scale, while Denim can feel washed out when printed small.

Web UI & body text backgrounds
PickCobalt

Cobalt hits a 8.44:1 WCAG contrast against white — safer for text-heavy interfaces — where Denim only reaches 6.10:1 and risks failing AA at small body sizes.

Fashion & apparel
PickDenim

Denim is a cool-leaning tone that flatters spring/summer collections and warmer skin undertones, while Cobalt leans cooler and is better suited to autumn/winter layering.

Interior design & walls
PickDenim

Denim is the more muted of the two (80% saturation) and sits more calmly on large wall surfaces, while Cobalt's higher chroma can overwhelm a room when used beyond accent pieces.

When to Use Denim vs Cobalt in Design

Use Denim for:
Tech and corporate trust
Finance and banking brands
Links and primary buttons
Medical and professional UI
Calm dependable visuals
Use Cobalt for:
Tech and corporate trust
Finance and banking brands
Links and primary buttons
Medical and professional UI
Calm dependable visuals

Denim and Cobalt Hex Codes, RGB & HSL

Denim#1560BD

Denim (#1560BD) is a medium, vivid blue with a cool undertone — it feels balanced, versatile and bright, energetic, eye-catching.

HEX
RGB
HSL
HSV
CMYK
PANTONE
Shades
Tints
Cobalt#0047AB

Cobalt (#0047AB) is a dark, vivid blue with a cool undertone — it feels rich, serious, substantial and bright, energetic, eye-catching.

HEX
RGB
HSL
HSV
CMYK
PANTONE
Shades
Tints

Denim and Cobalt WCAG Contrast Ratios

Text legibility depends on the contrast ratio between foreground and background. WCAG 2.1 AA requires at least 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Use these numbers to choose accessible combinations for your design.

Sample text preview
Denim text on white
6.1:1AA
Sample text preview
Denim text on black
3.44:1AA Large
Sample text preview
Cobalt text on white
8.44:1AAA
Sample text preview
Cobalt text on black
2.49:1Fail
Sample text preview
Denim text on Cobalt
1.38:1Fail
Sample text preview
Cobalt text on Denim
1.38:1Fail

More Denim and Cobalt Comparisons

Denim vs Cobalt FAQ

What is the difference between denim and cobalt?+
The main difference between Denim and Cobalt is brightness and saturation: both are blue shades, but Denim is lighter and Cobalt is more saturated. Denim and Cobalt are often confused but have distinct differences in hue, saturation, and tone. Denim (#1560BD) and Cobalt (#0047AB) each suit different design contexts — understanding their differences helps you choose the right color for your project.
Is denim darker than cobalt?+
No. Cobalt is the darker of the two at 34% lightness, while Denim sits higher at 41%.
Are denim and cobalt the same color?+
No. Denim is #1560BD and Cobalt is #0047AB. They differ by 2° in hue, 7% in lightness, and 20% in saturation.
Which is more saturated, denim or cobalt?+
Cobalt is more saturated. In HSL, Denim has 80% saturation and Cobalt has 100% — Cobalt is the more vivid of the two, while Denim reads as more muted.
Is denim warm or cool?+
Denim (#1560BD) is a cool blue. Its hue sits at 213° on the color wheel, which places it in the cool range.
Is cobalt warm or cool?+
Cobalt (#0047AB) is a cool blue. Its hue sits at 215° on the color wheel, which places it in the cool range.
Can you use denim and cobalt together?+
Yes. Both denim and cobalt are blue shades, so they pair naturally in a monochromatic palette. Use cobalt as the dominant color and denim as the accent or highlight.
What color family does denim belong to?+
Denim belongs to the blue family. Its HSL is 213°, 80%, 41% — a cool tone within the broader blue group.
What is the hex code for denim?+
The hex code for Denim is #1560BD. In RGB, that's rgb(21, 96, 189), and in HSL it's hsl(213, 80%, 41%).
What is the hex code for cobalt?+
The hex code for Cobalt is #0047AB. In RGB, that's rgb(0, 71, 171), and in HSL it's hsl(215, 100%, 34%).