#031FD2

#031fd2 ≈ Medium Blue

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

#031fd2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.18% red, 12.16% green and 82.35% blue; printed in CMYK it uses 98.57% cyan, 85.24% magenta, 0% yellow and 17.65% black. Its hue angle is 231.88°, with 97.18% saturation and 41.76% 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.39.

Description generated from the measured properties of this color.

Conversions of #031fd2 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 #343893 ≈ 0.001% of males
Protanopia #004dd7 ≈ 1.01% of males
Deuteranopia #0038cf ≈ 1.27% of males
Tritanopia #005c7d ≈ 0.0001% of males
Protanomaly #003fd5 ≈ 1.08% of males
Deuteranomaly #0030d0 ≈ 4.63% of males
Tritanomaly #004ba6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-031fd2 {
  color: #031fd2;
}
Background
.bg-031fd2 {
  background-color: #031fd2;
  color: #ffffff;
}
Border
.border-031fd2 {
  border: 2px solid #031fd2;
}
CSS variables
:root {
  --color-primary: #031fd2;
  --color-primary-rgb: 3 31 210;
  --color-primary-hsl: 232 97% 42%;
}
Gradient
.gradient-031fd2 {
  background: linear-gradient(135deg, #031fd2, #4e03d2);
}
Colored shadow
.shadow-031fd2 {
  box-shadow: 0 8px 24px rgb(3 31 210 / 0.35);
}

Medium Blue
#031fd2  rgb(3, 31, 210)  hsl(232, 97%, 42%)  Medium Blue
#d2b603  rgb(210, 182, 3)  hsl(52, 97%, 42%)  Old Gold
#d2031f  rgb(210, 3, 31)  hsl(352, 97%, 42%)  Lava
#1fd203  rgb(31, 210, 3)  hsl(112, 97%, 42%)  Lime Green