#031CD5

#031cd5 ≈ Medium Blue

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

#031cd5 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.18% red, 10.98% green and 83.53% blue; printed in CMYK it uses 98.59% cyan, 86.85% magenta, 0% yellow and 16.47% black. Its hue angle is 232.86°, with 97.22% saturation and 42.35% 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 9.86:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.15.

Description generated from the measured properties of this color.

Conversions of #031cd5 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#0033cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0565

Readable text 9.86:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.13:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #434343 ≈ 0.003% of males
Achromatomaly #343795 ≈ 0.001% of males
Protanopia #004eda ≈ 1.01% of males
Deuteranopia #0038d2 ≈ 1.27% of males
Tritanopia #005d7e ≈ 0.0001% of males
Protanomaly #003fd8 ≈ 1.08% of males
Deuteranomaly #002fd3 ≈ 4.63% of males
Tritanomaly #004ba8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-031cd5 {
  color: #031cd5;
}
Background
.bg-031cd5 {
  background-color: #031cd5;
  color: #ffffff;
}
Border
.border-031cd5 {
  border: 2px solid #031cd5;
}
CSS variables
:root {
  --color-primary: #031cd5;
  --color-primary-rgb: 3 28 213;
  --color-primary-hsl: 233 97% 42%;
}
Gradient
.gradient-031cd5 {
  background: linear-gradient(135deg, #031cd5, #5303d5);
}
Colored shadow
.shadow-031cd5 {
  box-shadow: 0 8px 24px rgb(3 28 213 / 0.35);
}

Medium Blue
#031cd5  rgb(3, 28, 213)  hsl(233, 97%, 42%)  Medium Blue
#d5bc03  rgb(213, 188, 3)  hsl(53, 97%, 42%)  Old Gold
#d5031c  rgb(213, 3, 28)  hsl(353, 97%, 42%)  Lava
#1cd503  rgb(28, 213, 3)  hsl(113, 97%, 42%)  Lime Green