#000CD2

#000cd2 ≈ Medium Blue

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

#000cd2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 0% red, 4.71% green and 82.35% blue; printed in CMYK it uses 100% cyan, 94.29% magenta, 0% yellow and 17.65% black. Its hue angle is 236.57°, with 100% saturation and 41.18% 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.59:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 1.26.

Description generated from the measured properties of this color.

Conversions of #000cd2 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.0492

Readable text 10.59:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.98:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3f3f3f ≈ 0.003% of males
Achromatomaly #303192 ≈ 0.001% of males
Protanopia #0049d7 ≈ 1.01% of males
Deuteranopia #0033cf ≈ 1.27% of males
Tritanopia #00587b ≈ 0.0001% of males
Protanomaly #0039d5 ≈ 1.08% of males
Deuteranomaly #0028d0 ≈ 4.63% of males
Tritanomaly #0046a5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-000cd2 {
  color: #000cd2;
}
Background
.bg-000cd2 {
  background-color: #000cd2;
  color: #ffffff;
}
Border
.border-000cd2 {
  border: 2px solid #000cd2;
}
CSS variables
:root {
  --color-primary: #000cd2;
  --color-primary-rgb: 0 12 210;
  --color-primary-hsl: 237 100% 41%;
}
Gradient
.gradient-000cd2 {
  background: linear-gradient(135deg, #000cd2, #5d00d2);
}
Colored shadow
.shadow-000cd2 {
  box-shadow: 0 8px 24px rgb(0 12 210 / 0.35);
}

Medium Blue
#000cd2  rgb(0, 12, 210)  hsl(237, 100%, 41%)  Medium Blue
#d2c600  rgb(210, 198, 0)  hsl(57, 100%, 41%)  Citrine
#d2000c  rgb(210, 0, 12)  hsl(357, 100%, 41%)  Rosso Corsa
#0cd200  rgb(12, 210, 0)  hsl(117, 100%, 41%)  Lime Green