#0212D7

#0212d7 ≈ Medium Blue

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

#0212d7 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 0.78% red, 7.06% green and 84.31% blue; printed in CMYK it uses 99.07% cyan, 91.63% magenta, 0% yellow and 15.69% black. Its hue angle is 235.49°, with 98.16% saturation and 42.55% 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.14:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.22.

Description generated from the measured properties of this color.

Conversions of #0212d7 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.0535

Readable text 10.14:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.07:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #414141 ≈ 0.003% of males
Achromatomaly #323496 ≈ 0.001% of males
Protanopia #004cdc ≈ 1.01% of males
Deuteranopia #0036d4 ≈ 1.27% of males
Tritanopia #005c7f ≈ 0.0001% of males
Protanomaly #003cda ≈ 1.08% of males
Deuteranomaly #002bd5 ≈ 4.63% of males
Tritanomaly #0049a9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0212d7 {
  color: #0212d7;
}
Background
.bg-0212d7 {
  background-color: #0212d7;
  color: #ffffff;
}
Border
.border-0212d7 {
  border: 2px solid #0212d7;
}
CSS variables
:root {
  --color-primary: #0212d7;
  --color-primary-rgb: 2 18 215;
  --color-primary-hsl: 235 98% 43%;
}
Gradient
.gradient-0212d7 {
  background: linear-gradient(135deg, #0212d7, #5c02d7);
}
Colored shadow
.shadow-0212d7 {
  box-shadow: 0 8px 24px rgb(2 18 215 / 0.35);
}

Medium Blue
#0212d7  rgb(2, 18, 215)  hsl(235, 98%, 43%)  Medium Blue
#d7c702  rgb(215, 199, 2)  hsl(55, 98%, 43%)  Citrine
#d70212  rgb(215, 2, 18)  hsl(355, 98%, 43%)  Rosso Corsa
#12d702  rgb(18, 215, 2)  hsl(115, 98%, 43%)  Lime Green