#0C4ECC

#0c4ecc ≈ Sapphire

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

#0c4ecc is a color from the azure family, with medium lightness and vivid saturation. In the RGB model it is made of 4.71% red, 30.59% green and 80% blue; printed in CMYK it uses 94.12% cyan, 61.76% magenta, 0% yellow and 20% black. Its hue angle is 219.38°, with 88.89% saturation and 42.35% 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 7.05:1 (WCAG AAA). The closest named color is Sapphire (#0f52ba), ΔE 3.1.

Description generated from the measured properties of this color.

Conversions of #0c4ecc 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.0989

Readable text 7.05:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.98:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #465595 ≈ 0.001% of males
Protanopia #0061d0 ≈ 1.01% of males
Deuteranopia #0050ca ≈ 1.27% of males
Tritanopia #006f85 ≈ 0.0001% of males
Protanomaly #005ace ≈ 1.08% of males
Deuteranomaly #004fcb ≈ 4.63% of males
Tritanomaly #0064a6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0c4ecc {
  color: #0c4ecc;
}
Background
.bg-0c4ecc {
  background-color: #0c4ecc;
  color: #ffffff;
}
Border
.border-0c4ecc {
  border: 2px solid #0c4ecc;
}
CSS variables
:root {
  --color-primary: #0c4ecc;
  --color-primary-rgb: 12 78 204;
  --color-primary-hsl: 219 89% 42%;
}
Gradient
.gradient-0c4ecc {
  background: linear-gradient(135deg, #0c4ecc, #2a0ccc);
}
Colored shadow
.shadow-0c4ecc {
  box-shadow: 0 8px 24px rgb(12 78 204 / 0.35);
}

Sapphire
#0c4ecc  rgb(12, 78, 204)  hsl(219, 89%, 42%)  Sapphire
#cc8a0c  rgb(204, 138, 12)  hsl(39, 89%, 42%)  Dark Goldenrod
#cc0c4e  rgb(204, 12, 78)  hsl(339, 89%, 42%)  Ruby
#4ecc0c  rgb(78, 204, 12)  hsl(99, 89%, 42%)  Lime Green