#0F2A7B Color

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

Color preview

#0F2A7B

Color formats

HEX
#0F2A7B
RGB
rgb(15, 42, 123)
RGBA
rgba(15, 42, 123, 1)
HSL
hsl(225, 78%, 27%)
HSV
hsv(225, 88%, 48%)
CMYK
cmyk(88%, 66%, 0%, 52%)
CSS variable
--color-primary: #0F2A7B;
Lowercase HEX
#0f2a7b

Shades

Tints

Tones

Harmony

CSS snippets for #0F2A7B

.color-0f2a7b {
  color: #0F2A7B;
  background-color: #0F2A7B;
}

Frequently asked questions

What color is #0F2A7B?+

#0F2A7B is a HEX color with RGB value rgb(15, 42, 123) and HSL value hsl(225, 78%, 27%). Its closest CSS named color is MidnightBlue.

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

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