#0C19CC

#0c19cc ≈ Medium Blue

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#0c19cc is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 4.71% red, 9.8% green and 80% blue; printed in CMYK it uses 94.12% cyan, 87.75% magenta, 0% yellow and 20% black. Its hue angle is 235.94°, with 88.89% saturation and 42.35% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 10.36:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.28.

Description generated from the measured properties of this color.

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

Readable text 10.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.03:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #32348e ≈ 0.001% of males
Protanopia #004ad1 ≈ 1.01% of males
Deuteranopia #0035c9 ≈ 1.27% of males
Tritanopia #005879 ≈ 0.0001% of males
Protanomaly #003ccf ≈ 1.08% of males
Deuteranomaly #002cca ≈ 4.63% of males
Tritanomaly #0047a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#0c19cc  rgb(12, 25, 204)  hsl(236, 89%, 42%)  Medium Blue
#ccbf0c  rgb(204, 191, 12)  hsl(56, 89%, 42%)  Citrine
#cc0c19  rgb(204, 12, 25)  hsl(356, 89%, 42%)  Venetian Red
#19cc0c  rgb(25, 204, 12)  hsl(116, 89%, 42%)  Lime Green