#2C255B Color

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

Color preview

#2C255B

Color formats

HEX
#2C255B
RGB
rgb(44, 37, 91)
RGBA
rgba(44, 37, 91, 1)
HSL
hsl(248, 42%, 25%)
HSV
hsv(248, 59%, 36%)
CMYK
cmyk(52%, 59%, 0%, 64%)
CSS variable
--color-primary: #2C255B;
Lowercase HEX
#2c255b

Shades

Tints

Tones

Harmony

CSS snippets for #2C255B

.color-2c255b {
  color: #2C255B;
  background-color: #2C255B;
}

Frequently asked questions

What color is #2C255B?+

#2C255B is a HEX color with RGB value rgb(44, 37, 91) and HSL value hsl(248, 42%, 25%). Its closest CSS named color is MidnightBlue.

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

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