#0000AF

A dark, vivid blue closely aligning with Mediumblue.

About #0000AF

The precise color #0000AF is an excellent choice for modern design projects. Designers often compare it to the standard color Mediumblue. This translates to an RGB value of rgb(0, 0, 175).

Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 100% C, 100% M, 0% Y, and 31% K. With a hue angle of 240.0 degrees, it sits comfortably in the blue spectrum.

Contrast ratios determine whether this color is safe for typography. Because it is a dark color, it is generally recommended to use #FFFFFF text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#0000AF
RGB0, 0, 175
HSL240.0°, 100.0%, 34.3%
CMYK100%, 100%, 0%, 31%
HSV240.0°, 100.0%, 68.6%
LAB20.4, 59.7, -81.3
XYZ7.7, 3.1, 40.7
Decimal175

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

12.97:1
Text on #FFFFFF
AAA
1.62:1
Text on #000000
FAIL
12.40:1
Text on #F8FAFC
AAA
1.38:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #0000AF; }
.text-color { color: #0000AF; }
.border-color { border: 2px solid #0000AF; }

Similar Colors

Mediumblue
#0000CD