#0B218E Color

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

Color preview

#0B218E

Color formats

HEX
#0B218E
RGB
rgb(11, 33, 142)
RGBA
rgba(11, 33, 142, 1)
HSL
hsl(230, 86%, 30%)
HSV
hsv(230, 92%, 56%)
CMYK
cmyk(92%, 77%, 0%, 44%)
CSS variable
--color-primary: #0B218E;
Lowercase HEX
#0b218e

Shades

Tints

Tones

Harmony

CSS snippets for #0B218E

.color-0b218e {
  color: #0B218E;
  background-color: #0B218E;
}

Frequently asked questions

What color is #0B218E?+

#0B218E is a HEX color with RGB value rgb(11, 33, 142) and HSL value hsl(230, 86%, 30%). Its closest CSS named color is MidnightBlue.

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

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