Dark blue
#0040B2
#0040B2 colour
#0040B2 is a dark, vivid blue. The closest everyday name is Cobalt Blue (#0047AB).
- HEX
#0040b2 - RGB
rgb(0 64 178) - HSL
hsl(218.4 100% 34.9%) - HSV / HSB
hsv(218.4 100% 69.8%) - HWB
hwb(218.4 0% 30.2%) - OKLCH
oklch(42.08% 0.1897 261.64) - CIELAB
lab(30.34% 21.43 -66.4) - CMYK
cmyk(100% 64% 0% 30%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
8.83:1 · AA
Black text
2.37:1 · Fails
On white
8.83:1 · AAA
On black
2.37: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 #0040B2 · Turn it into a brand palette