#42506B Color

Inspect #42506B across formats, palettes, contrast and closest named color matches.

Color preview

#42506B

Color formats

HEX
#42506B
RGB
rgb(66, 80, 107)
RGBA
rgba(66, 80, 107, 1)
HSL
hsl(220, 24%, 34%)
HSV
hsv(220, 38%, 42%)
CMYK
cmyk(38%, 25%, 0%, 58%)
CSS variable
--color-primary: #42506B;
Lowercase HEX
#42506b

Shades

Tints

Tones

Harmony

CSS snippets for #42506B

.color-42506b {
  color: #42506B;
  background-color: #42506B;
}

Frequently asked questions

What color is #42506B?+

#42506B is a HEX color with RGB value rgb(66, 80, 107) and HSL value hsl(220, 24%, 34%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #42506B?+

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