#3161FF

#3161ff ≈ Ultramarine Blue

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

#3161ff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 19.22% red, 38.04% green and 100% blue; printed in CMYK it uses 80.78% cyan, 61.96% magenta, 0% yellow and 0% black. Its hue angle is 226.02°, with 100% saturation and 59.61% 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 4.9:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 1.83.

Description generated from the measured properties of this color.

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

Readable text 4.9:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.28:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #5e6bbb ≈ 0.001% of males
Protanopia #007bff ≈ 1.01% of males
Deuteranopia #0067fc ≈ 1.27% of males
Tritanopia #008ba7 ≈ 0.0001% of males
Protanomaly #0071ff ≈ 1.08% of males
Deuteranomaly #0065fd ≈ 4.63% of males
Tritanomaly #007cd0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-3161ff {
  color: #3161ff;
}
Background
.bg-3161ff {
  background-color: #3161ff;
  color: #ffffff;
}
Border
.border-3161ff {
  border: 2px solid #3161ff;
}
CSS variables
:root {
  --color-primary: #3161ff;
  --color-primary-rgb: 49 97 255;
  --color-primary-hsl: 226 100% 60%;
}
Gradient
.gradient-3161ff {
  background: linear-gradient(135deg, #3161ff, #6831ff);
}
Colored shadow
.shadow-3161ff {
  box-shadow: 0 8px 24px rgb(49 97 255 / 0.35);
}

Ultramarine Blue
#3161ff  rgb(49, 97, 255)  hsl(226, 100%, 60%)  Ultramarine Blue
#ffcf31  rgb(255, 207, 49)  hsl(46, 100%, 60%)  Sunglow
#ff3161  rgb(255, 49, 97)  hsl(346, 100%, 60%)  Neon Fuchsia
#61ff31  rgb(97, 255, 49)  hsl(106, 100%, 60%)  Harlequin