#0F2A8A Color

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

Color preview

#0F2A8A

Color formats

HEX
#0F2A8A
RGB
rgb(15, 42, 138)
RGBA
rgba(15, 42, 138, 1)
HSL
hsl(227, 80%, 30%)
HSV
hsv(227, 89%, 54%)
CMYK
cmyk(89%, 70%, 0%, 46%)
CSS variable
--color-primary: #0F2A8A;
Lowercase HEX
#0f2a8a

Shades

Tints

Tones

Harmony

CSS snippets for #0F2A8A

.color-0f2a8a {
  color: #0F2A8A;
  background-color: #0F2A8A;
}

Frequently asked questions

What color is #0F2A8A?+

#0F2A8A is a HEX color with RGB value rgb(15, 42, 138) and HSL value hsl(227, 80%, 30%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #0F2A8A?+

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