Skip to main content

Cobalt

#1F317A

Cobalt is a cool dark color with the hex code #1F317A. This moderately saturated hue can be represented as RGB 31, 49, 122 in digital design or CMYK 75%, 60%, 0%, 52% for print applications. Find matching Pantone color.

Cobalt Color Values

HEX
#1F317A
RGB
31, 49, 122
HSL
228°, 59%, 30%
CMYK
75, 60, 0, 52

About this color

Cobalt sits at 228° on the color wheel, placing it in the cool color family, typically conveying calm and professionalism. With 59% saturation and 30% lightness, this moderately saturated dark hue balances visibility with restraint.

In digital design, cool colors like Cobalt work well for backgrounds, navigation, and establishing trust. Dark colors provide excellent contrast for text overlays and premium brand aesthetics.

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

How to use Cobalt

CSS Variable

:root {
  --brand-primary: #1F317A;
  --brand-primary-rgb: 31, 49, 122;
}

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

Tailwind Config

colors: {
  brand: '#1F317A',
}

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

Print Design (CMYK)

C: 75%
M: 60%
Y: 0%
K: 52%

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

RGB for Screens

rgb(31, 49, 122)
rgba(31, 49, 122, 0.8)

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

Frequently Asked Questions

What color is #1F317A?
#1F317A is Cobalt, a cool dark color with RGB values of 31, 49, 122. It has a hue of 228°, 59% saturation, and 30% lightness in the HSL color space.
What is the RGB value of #1F317A?
The RGB color code for #1F317A is rgb(31, 49, 122). This means it contains 31 red, 49 green, and 122 blue in the RGB color model.
Is Cobalt a warm or cool color?
Cobalt (#1F317A) is a cool color with a hue between 120-300° on the color wheel.
How do I use #1F317A in CSS?
You can use #1F317A in CSS with: background-color: #1F317A; or color: #1F317A; or as an RGB value: rgb(31, 49, 122). For print design, use CMYK: 75%, 60%, 0%, 52%.