#122887 Color

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

Color preview

#122887

Color formats

HEX
#122887
RGB
rgb(18, 40, 135)
RGBA
rgba(18, 40, 135, 1)
HSL
hsl(229, 76%, 30%)
HSV
hsv(229, 87%, 53%)
CMYK
cmyk(87%, 70%, 0%, 47%)
CSS variable
--color-primary: #122887;
Lowercase HEX
#122887

Shades

Tints

Tones

Harmony

CSS snippets for #122887

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

Frequently asked questions

What color is #122887?+

#122887 is a HEX color with RGB value rgb(18, 40, 135) and HSL value hsl(229, 76%, 30%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #122887?+

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