#0D12CA

#0d12ca ≈ Medium Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#0d12ca is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 5.1% red, 7.06% green and 79.22% blue; printed in CMYK it uses 93.56% cyan, 91.09% magenta, 0% yellow and 20.78% black. Its hue angle is 238.41°, with 87.91% saturation and 42.16% 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.73: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 #0d12ca 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.0478

Readable text 10.73: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 #31318d ≈ 0.001% of males
Protanopia #0047cf ≈ 1.01% of males
Deuteranopia #0033c7 ≈ 1.27% of males
Tritanopia #005677 ≈ 0.0001% of males
Protanomaly #0039cd ≈ 1.08% of males
Deuteranomaly #0029c8 ≈ 4.63% of males
Tritanomaly #00449f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0d12ca {
  color: #0d12ca;
}
Background
.bg-0d12ca {
  background-color: #0d12ca;
  color: #ffffff;
}
Border
.border-0d12ca {
  border: 2px solid #0d12ca;
}
CSS variables
:root {
  --color-primary: #0d12ca;
  --color-primary-rgb: 13 18 202;
  --color-primary-hsl: 238 88% 42%;
}
Gradient
.gradient-0d12ca {
  background: linear-gradient(135deg, #0d12ca, #660dca);
}
Colored shadow
.shadow-0d12ca {
  box-shadow: 0 8px 24px rgb(13 18 202 / 0.35);
}

Medium Blue
#0d12ca  rgb(13, 18, 202)  hsl(238, 88%, 42%)  Medium Blue
#cac50d  rgb(202, 197, 13)  hsl(58, 88%, 42%)  Citrine
#ca0d12  rgb(202, 13, 18)  hsl(358, 88%, 42%)  Venetian Red
#12ca0d  rgb(18, 202, 13)  hsl(118, 88%, 42%)  Lime Green