#2A6CDF Color

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

Color preview

#2A6CDF

Color formats

HEX
#2A6CDF
RGB
rgb(42, 108, 223)
RGBA
rgba(42, 108, 223, 1)
HSL
hsl(218, 74%, 52%)
HSV
hsv(218, 81%, 87%)
CMYK
cmyk(81%, 52%, 0%, 13%)
CSS variable
--color-primary: #2A6CDF;
Lowercase HEX
#2a6cdf

Shades

Tints

Tones

Harmony

CSS snippets for #2A6CDF

.color-2a6cdf {
  color: #2A6CDF;
  background-color: #2A6CDF;
}

Frequently asked questions

What color is #2A6CDF?+

#2A6CDF is a HEX color with RGB value rgb(42, 108, 223) and HSL value hsl(218, 74%, 52%). Its closest CSS named color is RoyalBlue.

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

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