#2F17FF

#2f17ff ≈ Ultramarine

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

#2f17ff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 18.43% red, 9.02% green and 100% blue; printed in CMYK it uses 81.57% cyan, 90.98% magenta, 0% yellow and 0% black. Its hue angle is 246.21°, with 100% saturation and 54.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 call-to-action buttons. White text on this color reaches a contrast ratio of 7.81:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 1.42.

Description generated from the measured properties of this color.

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

Readable text 7.81:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #4642b3 ≈ 0.001% of males
Protanopia #005dff ≈ 1.01% of males
Deuteranopia #0046fb ≈ 1.27% of males
Tritanopia #006d97 ≈ 0.0001% of males
Protanomaly #004aff ≈ 1.08% of males
Deuteranomaly #0038fd ≈ 4.63% of males
Tritanomaly #0057c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f17ff {
  color: #2f17ff;
}
Background
.bg-2f17ff {
  background-color: #2f17ff;
  color: #ffffff;
}
Border
.border-2f17ff {
  border: 2px solid #2f17ff;
}
CSS variables
:root {
  --color-primary: #2f17ff;
  --color-primary-rgb: 47 23 255;
  --color-primary-hsl: 246 100% 55%;
}
Gradient
.gradient-2f17ff {
  background: linear-gradient(135deg, #2f17ff, #a317ff);
}
Colored shadow
.shadow-2f17ff {
  box-shadow: 0 8px 24px rgb(47 23 255 / 0.35);
}

Ultramarine
#2f17ff  rgb(47, 23, 255)  hsl(246, 100%, 55%)  Ultramarine
#e7ff17  rgb(231, 255, 23)  hsl(66, 100%, 55%)  Lemon Lime
#ff2f17  rgb(255, 47, 23)  hsl(6, 100%, 55%)  Scarlet
#17ff2f  rgb(23, 255, 47)  hsl(126, 100%, 55%)  Lime