#2B3161 Color

Inspect #2B3161 across formats, palettes, contrast and closest named color matches.

Color preview

#2B3161

Color formats

HEX
#2B3161
RGB
rgb(43, 49, 97)
RGBA
rgba(43, 49, 97, 1)
HSL
hsl(233, 39%, 27%)
HSV
hsv(233, 56%, 38%)
CMYK
cmyk(56%, 49%, 0%, 62%)
CSS variable
--color-primary: #2B3161;
Lowercase HEX
#2b3161

Shades

Tints

Tones

Harmony

CSS snippets for #2B3161

.color-2b3161 {
  color: #2B3161;
  background-color: #2B3161;
}

Frequently asked questions

What color is #2B3161?+

#2B3161 is a HEX color with RGB value rgb(43, 49, 97) and HSL value hsl(233, 39%, 27%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #2B3161?+

The closest Tailwind color is slate-700, available as the bg-slate-700 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