Dark blue
#0040A5
#0040A5 colour
#0040A5 is a dark, vivid blue. The closest everyday name is Cobalt Blue (#0047AB).
- HEX
#0040a5 - RGB
rgb(0 64 165) - HSL
hsl(216.7 100% 32.4%) - HSV / HSB
hsv(216.7 100% 64.7%) - HWB
hwb(216.7 0% 35.3%) - OKLCH
oklch(40.84% 0.1728 260.65) - CIELAB
lab(29.3% 16.81 -60.33) - CMYK
cmyk(100% 61% 0% 35%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
9.22:1 · AA
Black text
2.27:1 · Fails
On white
9.22:1 · AAA
On black
2.27: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 #0040A5 · Turn it into a brand palette