#2A5AFA

#2a5afa ≈ Ultramarine Blue

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

#2a5afa is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 16.47% red, 35.29% green and 98.04% blue; printed in CMYK it uses 83.2% cyan, 64% magenta, 0% yellow and 1.96% black. Its hue angle is 226.15°, with 95.41% saturation and 57.25% 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.33:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 3.8.

Description generated from the measured properties of this color.

Conversions of #2a5afa 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.1471

Readable text 5.33:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.94:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #5865b6 ≈ 0.001% of males
Protanopia #0075ff ≈ 1.01% of males
Deuteranopia #0061f7 ≈ 1.27% of males
Tritanopia #0085a2 ≈ 0.0001% of males
Protanomaly #006bfd ≈ 1.08% of males
Deuteranomaly #005ff8 ≈ 4.63% of males
Tritanomaly #0076cb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a5afa {
  color: #2a5afa;
}
Background
.bg-2a5afa {
  background-color: #2a5afa;
  color: #ffffff;
}
Border
.border-2a5afa {
  border: 2px solid #2a5afa;
}
CSS variables
:root {
  --color-primary: #2a5afa;
  --color-primary-rgb: 42 90 250;
  --color-primary-hsl: 226 95% 57%;
}
Gradient
.gradient-2a5afa {
  background: linear-gradient(135deg, #2a5afa, #622afa);
}
Colored shadow
.shadow-2a5afa {
  box-shadow: 0 8px 24px rgb(42 90 250 / 0.35);
}

Ultramarine Blue
#2a5afa  rgb(42, 90, 250)  hsl(226, 95%, 57%)  Ultramarine Blue
#faca2a  rgb(250, 202, 42)  hsl(46, 95%, 57%)  Sunglow
#fa2a5a  rgb(250, 42, 90)  hsl(346, 95%, 57%)  Folly
#5afa2a  rgb(90, 250, 42)  hsl(106, 95%, 57%)  Harlequin