#2D117B Color

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

Color preview

#2D117B

Color formats

HEX
#2D117B
RGB
rgb(45, 17, 123)
RGBA
rgba(45, 17, 123, 1)
HSL
hsl(256, 76%, 27%)
HSV
hsv(256, 86%, 48%)
CMYK
cmyk(63%, 86%, 0%, 52%)
CSS variable
--color-primary: #2D117B;
Lowercase HEX
#2d117b

Shades

Tints

Tones

Harmony

CSS snippets for #2D117B

.color-2d117b {
  color: #2D117B;
  background-color: #2D117B;
}

Frequently asked questions

What color is #2D117B?+

#2D117B is a HEX color with RGB value rgb(45, 17, 123) and HSL value hsl(256, 76%, 27%). Its closest CSS named color is MidnightBlue.

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

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