Dark blue
#0040AF
#0040AF colour
#0040AF is a dark, vivid blue. The closest everyday name is Cobalt Blue (#0047AB).
- HEX
#0040af - RGB
rgb(0 64 175) - HSL
hsl(218.1 100% 34.3%) - HSV / HSB
hsv(218.1 100% 68.6%) - HWB
hwb(218.1 0% 31.4%) - OKLCH
oklch(41.79% 0.1858 261.44) - CIELAB
lab(30.09% 20.37 -65.02) - CMYK
cmyk(100% 63% 0% 31%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
8.92:1 · AA
Black text
2.35:1 · Fails
On white
8.92:1 · AAA
On black
2.35:1 · Fails
Colour harmonies
Complementary
Harmonies are calculated on the perceptual OKLCH hue wheel. Explore them on the colour wheel.
Shades and tints
Build a 50–950 scale from #0040AF · Turn it into a brand palette