#3151F2 Color

Inspect #3151F2 across formats, palettes, contrast and closest named color matches.

Color preview

#3151F2

Color formats

HEX
#3151F2
RGB
rgb(49, 81, 242)
RGBA
rgba(49, 81, 242, 1)
HSL
hsl(230, 88%, 57%)
HSV
hsv(230, 80%, 95%)
CMYK
cmyk(80%, 67%, 0%, 5%)
CSS variable
--color-primary: #3151F2;
Lowercase HEX
#3151f2

Shades

Tints

Tones

Harmony

CSS snippets for #3151F2

.color-3151f2 {
  color: #3151F2;
  background-color: #3151F2;
}

Frequently asked questions

What color is #3151F2?+

#3151F2 is a HEX color with RGB value rgb(49, 81, 242) and HSL value hsl(230, 88%, 57%). Its closest CSS named color is RoyalBlue.

What is the closest Tailwind color to #3151F2?+

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