#1B336F Color

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

Color preview

#1B336F

Color formats

HEX
#1B336F
RGB
rgb(27, 51, 111)
RGBA
rgba(27, 51, 111, 1)
HSL
hsl(223, 61%, 27%)
HSV
hsv(223, 76%, 44%)
CMYK
cmyk(76%, 54%, 0%, 56%)
CSS variable
--color-primary: #1B336F;
Lowercase HEX
#1b336f

Shades

Tints

Tones

Harmony

CSS snippets for #1B336F

.color-1b336f {
  color: #1B336F;
  background-color: #1B336F;
}

Frequently asked questions

What color is #1B336F?+

#1B336F is a HEX color with RGB value rgb(27, 51, 111) and HSL value hsl(223, 61%, 27%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #1B336F?+

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