Dark blue
#0040A7
#0040A7 colour
#0040A7 is a dark, vivid blue. The closest everyday name is Cobalt Blue (#0047AB).
- HEX
#0040a7 - RGB
rgb(0 64 167) - HSL
hsl(217 100% 32.7%) - HSV / HSB
hsv(217 100% 65.5%) - HWB
hwb(217 0% 34.5%) - OKLCH
oklch(41.03% 0.1755 260.83) - CIELAB
lab(29.46% 17.52 -61.28) - CMYK
cmyk(100% 62% 0% 35%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
9.16:1 · AA
Black text
2.29:1 · Fails
On white
9.16:1 · AAA
On black
2.29: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 #0040A7 · Turn it into a brand palette