#172AFA

#172afa ≈ Ultramarine

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

#172afa is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 9.02% red, 16.47% green and 98.04% blue; printed in CMYK it uses 90.8% cyan, 83.2% magenta, 0% yellow and 1.96% black. Its hue angle is 234.98°, with 95.78% saturation and 53.53% 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.64:1 (WCAG AAA). The closest named color is Ultramarine (#3f00ff), ΔE 3.69.

Description generated from the measured properties of this color.

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

Readable text 7.64:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.75:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #4346b0 ≈ 0.001% of males
Protanopia #005fff ≈ 1.01% of males
Deuteranopia #0047f7 ≈ 1.27% of males
Tritanopia #007096 ≈ 0.0001% of males
Protanomaly #004ffd ≈ 1.08% of males
Deuteranomaly #003df8 ≈ 4.63% of males
Tritanomaly #005cc6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-172afa {
  color: #172afa;
}
Background
.bg-172afa {
  background-color: #172afa;
  color: #ffffff;
}
Border
.border-172afa {
  border: 2px solid #172afa;
}
CSS variables
:root {
  --color-primary: #172afa;
  --color-primary-rgb: 23 42 250;
  --color-primary-hsl: 235 96% 54%;
}
Gradient
.gradient-172afa {
  background: linear-gradient(135deg, #172afa, #7617fa);
}
Colored shadow
.shadow-172afa {
  box-shadow: 0 8px 24px rgb(23 42 250 / 0.35);
}

Ultramarine
#172afa  rgb(23, 42, 250)  hsl(235, 96%, 54%)  Ultramarine
#fae717  rgb(250, 231, 23)  hsl(55, 96%, 54%)  Aureolin
#fa172a  rgb(250, 23, 42)  hsl(355, 96%, 54%)  Tractor Red
#2afa17  rgb(42, 250, 23)  hsl(115, 96%, 54%)  Lime