#4060BF

#4060bf ≈ Denim

  • blue
  • Lightness: medium
  • Saturation: moderate
  • Cool

#4060bf is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 25.1% red, 37.65% green and 74.9% blue; printed in CMYK it uses 66.49% cyan, 49.74% magenta, 0% yellow and 25.1% black. Its hue angle is 224.88°, with 49.8% saturation and 50% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 5.76:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 4.57.

Description generated from the measured properties of this color.

Conversions of #4060bf into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3366cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1322

Readable text 5.76:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.64:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #666666 ≈ 0.003% of males
Achromatomaly #596392 ≈ 0.001% of males
Protanopia #2b6cc2 ≈ 1.01% of males
Deuteranopia #0260bd ≈ 1.27% of males
Tritanopia #007686 ≈ 0.0001% of males
Protanomaly #3567c1 ≈ 1.08% of males
Deuteranomaly #2860be ≈ 4.63% of males
Tritanomaly #006ea0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4060bf {
  color: #4060bf;
}
Background
.bg-4060bf {
  background-color: #4060bf;
  color: #ffffff;
}
Border
.border-4060bf {
  border: 2px solid #4060bf;
}
CSS variables
:root {
  --color-primary: #4060bf;
  --color-primary-rgb: 64 96 191;
  --color-primary-hsl: 225 50% 50%;
}
Gradient
.gradient-4060bf {
  background: linear-gradient(135deg, #4060bf, #5f40bf);
}
Colored shadow
.shadow-4060bf {
  box-shadow: 0 8px 24px rgb(64 96 191 / 0.35);
}

Denim
#4060bf  rgb(64, 96, 191)  hsl(225, 50%, 50%)  Denim
#bf9f40  rgb(191, 159, 64)  hsl(45, 50%, 50%)  Brass
#bf4060  rgb(191, 64, 96)  hsl(345, 50%, 50%)  Dogwood Rose
#60bf40  rgb(96, 191, 64)  hsl(105, 50%, 50%)  Kelly Green