#18213B Color

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

Color preview

#18213B

Color formats

HEX
#18213B
RGB
rgb(24, 33, 59)
RGBA
rgba(24, 33, 59, 1)
HSL
hsl(225, 42%, 16%)
HSV
hsv(225, 59%, 23%)
CMYK
cmyk(59%, 44%, 0%, 77%)
CSS variable
--color-primary: #18213B;
Lowercase HEX
#18213b

Shades

Tints

Tones

Harmony

CSS snippets for #18213B

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

Frequently asked questions

What color is #18213B?+

#18213B is a HEX color with RGB value rgb(24, 33, 59) and HSL value hsl(225, 42%, 16%). Its closest CSS named color is MidnightBlue.

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

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