#0B2981 Color

Inspect #0B2981 across formats, palettes, contrast and closest named color matches.

Color preview

#0B2981

Color formats

HEX
#0B2981
RGB
rgb(11, 41, 129)
RGBA
rgba(11, 41, 129, 1)
HSL
hsl(225, 84%, 27%)
HSV
hsv(225, 91%, 51%)
CMYK
cmyk(91%, 68%, 0%, 49%)
CSS variable
--color-primary: #0B2981;
Lowercase HEX
#0b2981

Shades

Tints

Tones

Harmony

CSS snippets for #0B2981

.color-0b2981 {
  color: #0B2981;
  background-color: #0B2981;
}

Frequently asked questions

What color is #0B2981?+

#0B2981 is a HEX color with RGB value rgb(11, 41, 129) and HSL value hsl(225, 84%, 27%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #0B2981?+

The closest Tailwind color is blue-900, available as the bg-blue-900 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools