#5A62FF

#5a62ff ≈ Ultramarine Blue

  • blue
  • Lightness: high
  • Saturation: strong
  • Cool

#5a62ff is a color from the blue family, with high lightness and strong saturation. In the RGB model it is made of 35.29% red, 38.43% green and 100% blue; printed in CMYK it uses 64.71% cyan, 61.57% magenta, 0% yellow and 0% black. Its hue angle is 237.09°, with 100% saturation and 67.65% 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. Black text on this color reaches a contrast ratio of 4.63:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 3.82.

Description generated from the measured properties of this color.

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

Readable text 4.54:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.63:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #6c6fbd ≈ 0.001% of males
Protanopia #007eff ≈ 1.01% of males
Deuteranopia #006ffc ≈ 1.27% of males
Tritanopia #008aa7 ≈ 0.0001% of males
Protanomaly #0e73ff ≈ 1.08% of males
Deuteranomaly #006afd ≈ 4.63% of males
Tritanomaly #107cd0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a62ff {
  color: #5a62ff;
}
Background
.bg-5a62ff {
  background-color: #5a62ff;
  color: #000000;
}
Border
.border-5a62ff {
  border: 2px solid #5a62ff;
}
CSS variables
:root {
  --color-primary: #5a62ff;
  --color-primary-rgb: 90 98 255;
  --color-primary-hsl: 237 100% 68%;
}
Gradient
.gradient-5a62ff {
  background: linear-gradient(135deg, #5a62ff, #a55aff);
}
Colored shadow
.shadow-5a62ff {
  box-shadow: 0 8px 24px rgb(90 98 255 / 0.35);
}

Ultramarine Blue
#5a62ff  rgb(90, 98, 255)  hsl(237, 100%, 68%)  Ultramarine Blue
#fff75a  rgb(255, 247, 90)  hsl(57, 100%, 68%)  Icterine
#ff5a62  rgb(255, 90, 98)  hsl(357, 100%, 68%)  Pastel Red
#62ff5a  rgb(98, 255, 90)  hsl(117, 100%, 68%)  Neon Green