#42A5EB Color

Inspect #42A5EB across formats, palettes, contrast and closest named color matches.

Color preview

#42A5EB

Color formats

HEX
#42A5EB
RGB
rgb(66, 165, 235)
RGBA
rgba(66, 165, 235, 1)
HSL
hsl(205, 81%, 59%)
HSV
hsv(205, 72%, 92%)
CMYK
cmyk(72%, 30%, 0%, 8%)
CSS variable
--color-primary: #42A5EB;
Lowercase HEX
#42a5eb

Shades

Tints

Tones

Harmony

CSS snippets for #42A5EB

.color-42a5eb {
  color: #42A5EB;
  background-color: #42A5EB;
}

Frequently asked questions

What color is #42A5EB?+

#42A5EB is a HEX color with RGB value rgb(66, 165, 235) and HSL value hsl(205, 81%, 59%). Its closest CSS named color is CornflowerBlue.

What is the closest Tailwind color to #42A5EB?+

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