#045CD2

#045cd2 ≈ Denim

  • azure
  • Lightness: medium
  • Saturation: vivid
  • Cool

#045cd2 is a color from the azure family, with medium lightness and vivid saturation. In the RGB model it is made of 1.57% red, 36.08% green and 82.35% blue; printed in CMYK it uses 98.1% cyan, 56.19% magenta, 0% yellow and 17.65% black. Its hue angle is 214.37°, with 96.26% saturation and 41.96% lightness in HSL. It is a cool color, often associated with openness, freedom and calm. Designers typically use it for technology products, finance and banking and call-to-action buttons. White text on this color reaches a contrast ratio of 6.06:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 3.18.

Description generated from the measured properties of this color.

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

Readable text 6.06:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.47:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #4d609c ≈ 0.001% of males
Protanopia #006bd6 ≈ 1.01% of males
Deuteranopia #005ad0 ≈ 1.27% of males
Tritanopia #007a8e ≈ 0.0001% of males
Protanomaly #0066d4 ≈ 1.08% of males
Deuteranomaly #005bd1 ≈ 4.63% of males
Tritanomaly #006fad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-045cd2 {
  color: #045cd2;
}
Background
.bg-045cd2 {
  background-color: #045cd2;
  color: #ffffff;
}
Border
.border-045cd2 {
  border: 2px solid #045cd2;
}
CSS variables
:root {
  --color-primary: #045cd2;
  --color-primary-rgb: 4 92 210;
  --color-primary-hsl: 214 96% 42%;
}
Gradient
.gradient-045cd2 {
  background: linear-gradient(135deg, #045cd2, #1304d2);
}
Colored shadow
.shadow-045cd2 {
  box-shadow: 0 8px 24px rgb(4 92 210 / 0.35);
}

Denim
#045cd2  rgb(4, 92, 210)  hsl(214, 96%, 42%)  Denim
#d27a04  rgb(210, 122, 4)  hsl(34, 96%, 42%)  Ochre
#d2045c  rgb(210, 4, 92)  hsl(334, 96%, 42%)  Dogwood Rose
#5cd204  rgb(92, 210, 4)  hsl(94, 96%, 42%)  Lime Green