#0C4EC9

#0c4ec9 ≈ Sapphire

  • azure
  • Lightness: medium
  • Saturation: strong
  • Cool

#0c4ec9 is a color from the azure family, with medium lightness and strong saturation. In the RGB model it is made of 4.71% red, 30.59% green and 78.82% blue; printed in CMYK it uses 94.03% cyan, 61.19% magenta, 0% yellow and 21.18% black. Its hue angle is 219.05°, with 88.73% saturation and 41.76% 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.12:1 (WCAG AAA). The closest named color is Sapphire (#0f52ba), ΔE 2.74.

Description generated from the measured properties of this color.

Conversions of #0c4ec9 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.0974

Readable text 7.12:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.95:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #455493 ≈ 0.001% of males
Protanopia #0061cd ≈ 1.01% of males
Deuteranopia #0050c7 ≈ 1.27% of males
Tritanopia #006e84 ≈ 0.0001% of males
Protanomaly #005acb ≈ 1.08% of males
Deuteranomaly #004fc8 ≈ 4.63% of males
Tritanomaly #0063a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Sapphire
#0c4ec9  rgb(12, 78, 201)  hsl(219, 89%, 42%)  Sapphire
#c9870c  rgb(201, 135, 12)  hsl(39, 89%, 42%)  Dark Goldenrod
#c90c4e  rgb(201, 12, 78)  hsl(339, 89%, 42%)  Ruby
#4ec90c  rgb(78, 201, 12)  hsl(99, 89%, 42%)  Lime Green