Skip to main content

Cobalt

#2857A4

Cobalt is a cool medium color with the hex code #2857A4. This vibrant hue can be represented as RGB 40, 87, 164 in digital design or CMYK 76%, 47%, 0%, 36% for print applications. Find matching Pantone color.

Cobalt Color Values

HEX
#2857A4
RGB
40, 87, 164
HSL
217°, 61%, 40%
CMYK
76, 47, 0, 36

About this color

Cobalt sits at 217° on the color wheel, placing it in the cool color family, typically conveying calm and professionalism. With 61% saturation and 40% lightness, this vibrant medium hue balances visibility with restraint.

In digital design, cool colors like Cobalt work well for backgrounds, navigation, and establishing trust. Medium-toned colors offer versatility across both light and dark design themes.

When using Cobalt in print, the CMYK breakdown of 76%, 47%, 0%, 36% ensures accurate color reproduction. This balanced CMYK profile should reproduce consistently across different printing methods.

How to use Cobalt

CSS Variable

:root {
  --brand-primary: #2857A4;
  --brand-primary-rgb: 40, 87, 164;
}

Define as a CSS custom property for consistent theming across your site.

Tailwind Config

colors: {
  brand: '#2857A4',
}

Add to your Tailwind config to use classes like bg-brand.

Print Design (CMYK)

C: 76%
M: 47%
Y: 0%
K: 36%

Use these CMYK values in Adobe Illustrator, InDesign, or print specifications.

RGB for Screens

rgb(40, 87, 164)
rgba(40, 87, 164, 0.8)

Use RGB notation for compatibility or add alpha channel for transparency.

Frequently Asked Questions

What color is #2857A4?
#2857A4 is Cobalt, a cool medium color with RGB values of 40, 87, 164. It has a hue of 217°, 61% saturation, and 40% lightness in the HSL color space.
What is the RGB value of #2857A4?
The RGB color code for #2857A4 is rgb(40, 87, 164). This means it contains 40 red, 87 green, and 164 blue in the RGB color model.
Is Cobalt a warm or cool color?
Cobalt (#2857A4) is a cool color with a hue between 120-300° on the color wheel.
How do I use #2857A4 in CSS?
You can use #2857A4 in CSS with: background-color: #2857A4; or color: #2857A4; or as an RGB value: rgb(40, 87, 164). For print design, use CMYK: 76%, 47%, 0%, 36%.