#1228BA Color

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

Color preview

#1228BA

Color formats

HEX
#1228BA
RGB
rgb(18, 40, 186)
RGBA
rgba(18, 40, 186, 1)
HSL
hsl(232, 82%, 40%)
HSV
hsv(232, 90%, 73%)
CMYK
cmyk(90%, 78%, 0%, 27%)
CSS variable
--color-primary: #1228BA;
Lowercase HEX
#1228ba

Shades

Tints

Tones

Harmony

CSS snippets for #1228BA

.color-1228ba {
  color: #1228BA;
  background-color: #1228BA;
}

Frequently asked questions

What color is #1228BA?+

#1228BA is a HEX color with RGB value rgb(18, 40, 186) and HSL value hsl(232, 82%, 40%). Its closest CSS named color is MediumBlue.

What is the closest Tailwind color to #1228BA?+

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