#282962 Color

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

Color preview

#282962

Color formats

HEX
#282962
RGB
rgb(40, 41, 98)
RGBA
rgba(40, 41, 98, 1)
HSL
hsl(239, 42%, 27%)
HSV
hsv(239, 59%, 38%)
CMYK
cmyk(59%, 58%, 0%, 62%)
CSS variable
--color-primary: #282962;
Lowercase HEX
#282962

Shades

Tints

Tones

Harmony

CSS snippets for #282962

.color-282962 {
  color: #282962;
  background-color: #282962;
}

Frequently asked questions

What color is #282962?+

#282962 is a HEX color with RGB value rgb(40, 41, 98) and HSL value hsl(239, 42%, 27%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #282962?+

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