Dark blue
#0240AF
#0240AF colour
#0240AF is a dark, vivid blue. The closest everyday name is Cobalt Blue (#0047AB).
- HEX
#0240af - RGB
rgb(2 64 175) - HSL
hsl(218.5 97.7% 34.7%) - HSV / HSB
hsv(218.5 98.9% 68.6%) - HWB
hwb(218.5 0.8% 31.4%) - OKLCH
oklch(41.82% 0.1856 261.64) - CIELAB
lab(30.13% 20.47 -64.96) - CMYK
cmyk(99% 63% 0% 31%)
CMYK is an approximation without a print profile. Name: generated description, not an official name.
Text and contrast
White text
8.91:1 · AA
Black text
2.35:1 · Fails
On white
8.91: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 #0240AF · Turn it into a brand palette