#00126B Color

Inspect #00126B across formats, palettes, contrast and closest named color matches.

Color preview

#00126B

Color formats

HEX
#00126B
RGB
rgb(0, 18, 107)
RGBA
rgba(0, 18, 107, 1)
HSL
hsl(230, 100%, 21%)
HSV
hsv(230, 100%, 42%)
CMYK
cmyk(100%, 83%, 0%, 58%)
CSS variable
--color-primary: #00126B;
Lowercase HEX
#00126b

Shades

Tints

Tones

Harmony

CSS snippets for #00126B

.color-00126b {
  color: #00126B;
  background-color: #00126B;
}

Frequently asked questions

What color is #00126B?+

#00126B is a HEX color with RGB value rgb(0, 18, 107) and HSL value hsl(230, 100%, 21%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #00126B?+

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