#2A5DEC

#2a5dec ≈ Ultramarine Blue

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

#2a5dec is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 16.47% red, 36.47% green and 92.55% blue; printed in CMYK it uses 82.2% cyan, 60.59% magenta, 0% yellow and 7.45% black. Its hue angle is 224.23°, with 83.62% 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 5.42:1 (WCAG AA). The closest named color is Ultramarine Blue (#4166f5), ΔE 3.67.

Description generated from the measured properties of this color.

Conversions of #2a5dec 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.1438

Readable text 5.42:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.88:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6a6a6a ≈ 0.003% of males
Achromatomaly #5765ae ≈ 0.001% of males
Protanopia #0073f1 ≈ 1.01% of males
Deuteranopia #0061e9 ≈ 1.27% of males
Tritanopia #00829c ≈ 0.0001% of males
Protanomaly #006bef ≈ 1.08% of males
Deuteranomaly #0060ea ≈ 4.63% of males
Tritanomaly #0075c1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a5dec {
  color: #2a5dec;
}
Background
.bg-2a5dec {
  background-color: #2a5dec;
  color: #ffffff;
}
Border
.border-2a5dec {
  border: 2px solid #2a5dec;
}
CSS variables
:root {
  --color-primary: #2a5dec;
  --color-primary-rgb: 42 93 236;
  --color-primary-hsl: 224 84% 55%;
}
Gradient
.gradient-2a5dec {
  background: linear-gradient(135deg, #2a5dec, #582aec);
}
Colored shadow
.shadow-2a5dec {
  box-shadow: 0 8px 24px rgb(42 93 236 / 0.35);
}

Ultramarine Blue
#2a5dec  rgb(42, 93, 236)  hsl(224, 84%, 55%)  Ultramarine Blue
#ecb92a  rgb(236, 185, 42)  hsl(44, 84%, 55%)  Meat Brown
#ec2a5d  rgb(236, 42, 93)  hsl(344, 84%, 55%)  Amaranth
#5dec2a  rgb(93, 236, 42)  hsl(104, 84%, 55%)  Neon Green