#1B048B Color

Inspect #1B048B across formats, palettes, contrast and closest named color matches.

Color preview

#1B048B

Color formats

HEX
#1B048B
RGB
rgb(27, 4, 139)
RGBA
rgba(27, 4, 139, 1)
HSL
hsl(250, 94%, 28%)
HSV
hsv(250, 97%, 55%)
CMYK
cmyk(81%, 97%, 0%, 45%)
CSS variable
--color-primary: #1B048B;
Lowercase HEX
#1b048b

Shades

Tints

Tones

Harmony

CSS snippets for #1B048B

.color-1b048b {
  color: #1B048B;
  background-color: #1B048B;
}

Frequently asked questions

What color is #1B048B?+

#1B048B is a HEX color with RGB value rgb(27, 4, 139) and HSL value hsl(250, 94%, 28%). Its closest CSS named color is DarkBlue.

What is the closest Tailwind color to #1B048B?+

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