#0812CB

#0812cb ≈ Medium Blue

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

#0812cb 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 79.61% blue; printed in CMYK it uses 96.06% cyan, 91.13% magenta, 0% yellow and 20.39% black. Its hue angle is 236.92°, with 92.42% saturation and 41.37% 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.72:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.4.

Description generated from the measured properties of this color.

Conversions of #0812cb 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.048

Readable text 10.72:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.96:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3e3e3e ≈ 0.003% of males
Achromatomaly #30318d ≈ 0.001% of males
Protanopia #0048d0 ≈ 1.01% of males
Deuteranopia #0033c8 ≈ 1.27% of males
Tritanopia #005677 ≈ 0.0001% of males
Protanomaly #0039ce ≈ 1.08% of males
Deuteranomaly #0029c9 ≈ 4.63% of males
Tritanomaly #0044a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Blue
#0812cb  rgb(8, 18, 203)  hsl(237, 92%, 41%)  Medium Blue
#cbc108  rgb(203, 193, 8)  hsl(57, 92%, 41%)  Citrine
#cb0812  rgb(203, 8, 18)  hsl(357, 92%, 41%)  Venetian Red
#12cb08  rgb(18, 203, 8)  hsl(117, 92%, 41%)  Lime Green