#0812CC

#0812cc ≈ Medium Blue

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

#0812cc is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 3.14% red, 7.06% green and 80% blue; printed in CMYK it uses 96.08% cyan, 91.18% magenta, 0% yellow and 20% black. Its hue angle is 236.94°, with 92.45% saturation and 41.57% 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.67:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.43.

Description generated from the measured properties of this color.

Conversions of #0812cc 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.0484

Readable text 10.67:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.97:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3e3e3e ≈ 0.003% of males
Achromatomaly #30328e ≈ 0.001% of males
Protanopia #0048d1 ≈ 1.01% of males
Deuteranopia #0033c9 ≈ 1.27% of males
Tritanopia #005778 ≈ 0.0001% of males
Protanomaly #0039cf ≈ 1.08% of males
Deuteranomaly #0029ca ≈ 4.63% of males
Tritanomaly #0045a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0812cc {
  color: #0812cc;
}
Background
.bg-0812cc {
  background-color: #0812cc;
  color: #ffffff;
}
Border
.border-0812cc {
  border: 2px solid #0812cc;
}
CSS variables
:root {
  --color-primary: #0812cc;
  --color-primary-rgb: 8 18 204;
  --color-primary-hsl: 237 92% 42%;
}
Gradient
.gradient-0812cc {
  background: linear-gradient(135deg, #0812cc, #6008cc);
}
Colored shadow
.shadow-0812cc {
  box-shadow: 0 8px 24px rgb(8 18 204 / 0.35);
}

Medium Blue
#0812cc  rgb(8, 18, 204)  hsl(237, 92%, 42%)  Medium Blue
#ccc208  rgb(204, 194, 8)  hsl(57, 92%, 42%)  Citrine
#cc0812  rgb(204, 8, 18)  hsl(357, 92%, 42%)  Venetian Red
#12cc08  rgb(18, 204, 8)  hsl(117, 92%, 42%)  Lime Green