#000080

navy

#000080 is a blue colour. In RGB it is 0 red, 0 green and 128 blue, which converts to a hue of 240 degrees, 100% saturation and 25% lightness. It is one of the named CSS colours, written as navy in stylesheets.

Color values

HEX#000080
RGBrgb(0, 0, 128)
HSLhsl(240, 100%, 25%)
HSVhsv(240, 100%, 50%)
CMYKcmyk(100%, 100%, 0%, 50%)

Contrast and accessibility

Against white the contrast ratio is 16.01:1, and against black it is 1.31:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.

BackgroundRatioNormal textLarge text
White16.01:1AAAAAA
Black1.31:1FailFail

Tints and shades

Lighter tints move #000080 toward white, and darker shades move it toward black.

Tints

Shades

Color harmonies

Complementary

Analogous

Triadic

Split complementary

Code

CSScolor: #000080;
CSS rgb()color: rgb(0 0 128);
Tailwindbg-[#000080]
SwiftUIColor(red: 0.000, green: 0.000, blue: 0.502)
AndroidColor.parseColor("#000080")

Related tools