#2845F2

#2845f2 ≈ Majorelle Blue

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

#2845f2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 15.69% red, 27.06% green and 94.9% blue; printed in CMYK it uses 83.47% cyan, 71.49% magenta, 0% yellow and 5.1% black. Its hue angle is 231.39°, with 88.6% saturation and 55.29% 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 6.51:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 5.79.

Description generated from the measured properties of this color.

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

Readable text 6.51:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.22:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5e5e5e ≈ 0.003% of males
Achromatomaly #4e55ae ≈ 0.001% of males
Protanopia #0068f7 ≈ 1.01% of males
Deuteranopia #0054ef ≈ 1.27% of males
Tritanopia #007797 ≈ 0.0001% of males
Protanomaly #005cf5 ≈ 1.08% of males
Deuteranomaly #004ef0 ≈ 4.63% of males
Tritanomaly #0067c2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2845f2 {
  color: #2845f2;
}
Background
.bg-2845f2 {
  background-color: #2845f2;
  color: #ffffff;
}
Border
.border-2845f2 {
  border: 2px solid #2845f2;
}
CSS variables
:root {
  --color-primary: #2845f2;
  --color-primary-rgb: 40 69 242;
  --color-primary-hsl: 231 89% 55%;
}
Gradient
.gradient-2845f2 {
  background: linear-gradient(135deg, #2845f2, #7028f2);
}
Colored shadow
.shadow-2845f2 {
  box-shadow: 0 8px 24px rgb(40 69 242 / 0.35);
}

Majorelle Blue
#2845f2  rgb(40, 69, 242)  hsl(231, 89%, 55%)  Majorelle Blue
#f2d528  rgb(242, 213, 40)  hsl(51, 89%, 55%)  Banana Yellow
#f22845  rgb(242, 40, 69)  hsl(351, 89%, 55%)  Folly
#45f228  rgb(69, 242, 40)  hsl(111, 89%, 55%)  Neon Green