Skip to main content

Cobalt

#2A42A2

Cobalt is a cool medium color with the hex code #2A42A2. This moderately saturated hue can be represented as RGB 42, 66, 162 in digital design or CMYK 74%, 59%, 0%, 36% for print applications. Find matching Pantone color.

Cobalt color values

HEX
#2A42A2
RGB
42, 66, 162
HSL
228°, 59%, 40%
CMYK
74, 59, 0, 36

About this color

Cobalt sits at 228° on the color wheel with 59% saturation and 40% lightness, placing it in the blue segment of the spectrum. The moderate 59% saturation gives it enough color presence to register clearly without competing for dominance in a composition. Its mid-range lightness positions it as a mid-tone: neither a background color nor a deep accent, but something in between.

In digital environments, Cobalt is rendered as rgb(42, 66, 162), where the blue channel is highest at 162, producing a strongly blue character. This cool mid-tone is a reliable choice for UI chrome, informational states, and contexts that call for a calm, readable presence.

For print, Cobalt translates to a CMYK breakdown of 74C 59M 0Y 36K. With a moderate key (36%), this color uses black to deepen the chromatic channels rather than replace them, a profile that typically holds up well in both offset and digital print. No brands in the brandkit.pro library currently specify this exact hex as a named brand color.

How to use Cobalt

CSS Variable

:root {
  --brand-primary: #2A42A2;
  --brand-primary-rgb: 42, 66, 162;
}

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

Tailwind Config

colors: {
  brand: '#2A42A2',
}

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

Print Design (CMYK)

C: 74%
M: 59%
Y: 0%
K: 36%

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

RGB for Screens

rgb(42, 66, 162)
rgba(42, 66, 162, 0.8)

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

Frequently asked questions

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