#2A5FFE

#2a5ffe ≈ Ultramarine Blue

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

#2a5ffe is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 16.47% red, 37.25% green and 99.61% blue; printed in CMYK it uses 83.46% cyan, 62.6% magenta, 0% yellow and 0.39% black. Its hue angle is 225°, with 99.07% saturation and 58.04% 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 5.04:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 2.42.

Description generated from the measured properties of this color.

Conversions of #2a5ffe 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.1583

Readable text 5.04:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.17:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #5b69ba ≈ 0.001% of males
Protanopia #0079ff ≈ 1.01% of males
Deuteranopia #0065fb ≈ 1.27% of males
Tritanopia #0089a6 ≈ 0.0001% of males
Protanomaly #006fff ≈ 1.08% of males
Deuteranomaly #0063fc ≈ 4.63% of males
Tritanomaly #007bcf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a5ffe {
  color: #2a5ffe;
}
Background
.bg-2a5ffe {
  background-color: #2a5ffe;
  color: #ffffff;
}
Border
.border-2a5ffe {
  border: 2px solid #2a5ffe;
}
CSS variables
:root {
  --color-primary: #2a5ffe;
  --color-primary-rgb: 42 95 254;
  --color-primary-hsl: 225 99% 58%;
}
Gradient
.gradient-2a5ffe {
  background: linear-gradient(135deg, #2a5ffe, #5f2afe);
}
Colored shadow
.shadow-2a5ffe {
  box-shadow: 0 8px 24px rgb(42 95 254 / 0.35);
}

Ultramarine Blue
#2a5ffe  rgb(42, 95, 254)  hsl(225, 99%, 58%)  Ultramarine Blue
#fec92a  rgb(254, 201, 42)  hsl(45, 99%, 58%)  Sunglow
#fe2a5f  rgb(254, 42, 95)  hsl(345, 99%, 58%)  Neon Fuchsia
#5ffe2a  rgb(95, 254, 42)  hsl(105, 99%, 58%)  Harlequin