#3151B2

#3151b2 ≈ Sapphire

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

#3151b2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 19.22% red, 31.76% green and 69.8% blue; printed in CMYK it uses 72.47% cyan, 54.49% magenta, 0% yellow and 30.2% black. Its hue angle is 225.12°, with 56.83% saturation and 44.51% 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 brand accents. White text on this color reaches a contrast ratio of 7.12:1 (WCAG AAA). The closest named color is Sapphire (#0f52ba), ΔE 2.66.

Description generated from the measured properties of this color.

Conversions of #3151b2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#336699
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0975

Readable text 7.12:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.95:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #4b5586 ≈ 0.001% of males
Protanopia #005eb5 ≈ 1.01% of males
Deuteranopia #0052b0 ≈ 1.27% of males
Tritanopia #006979 ≈ 0.0001% of males
Protanomaly #1d59b4 ≈ 1.08% of males
Deuteranomaly #0252b1 ≈ 4.63% of males
Tritanomaly #006093 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-3151b2 {
  color: #3151b2;
}
Background
.bg-3151b2 {
  background-color: #3151b2;
  color: #ffffff;
}
Border
.border-3151b2 {
  border: 2px solid #3151b2;
}
CSS variables
:root {
  --color-primary: #3151b2;
  --color-primary-rgb: 49 81 178;
  --color-primary-hsl: 225 57% 45%;
}
Gradient
.gradient-3151b2 {
  background: linear-gradient(135deg, #3151b2, #5231b2);
}
Colored shadow
.shadow-3151b2 {
  box-shadow: 0 8px 24px rgb(49 81 178 / 0.35);
}

Sapphire
#3151b2  rgb(49, 81, 178)  hsl(225, 57%, 45%)  Sapphire
#b29231  rgb(178, 146, 49)  hsl(45, 57%, 45%)  Dark Goldenrod
#b23151  rgb(178, 49, 81)  hsl(345, 57%, 45%)  Vivid Burgundy
#51b231  rgb(81, 178, 49)  hsl(105, 57%, 45%)  Kelly Green