#2152F2

#2152f2 ≈ Majorelle Blue

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

#2152f2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 12.94% red, 32.16% green and 94.9% blue; printed in CMYK it uses 86.36% cyan, 66.12% magenta, 0% yellow and 5.1% black. Its hue angle is 225.93°, with 88.94% saturation and 53.92% 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.91:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 6.1.

Description generated from the measured properties of this color.

Conversions of #2152f2 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.1277

Readable text 5.91:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.55:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #646464 ≈ 0.003% of males
Achromatomaly #515db0 ≈ 0.001% of males
Protanopia #006ef7 ≈ 1.01% of males
Deuteranopia #005aef ≈ 1.27% of males
Tritanopia #007e9b ≈ 0.0001% of males
Protanomaly #0064f5 ≈ 1.08% of males
Deuteranomaly #0057f0 ≈ 4.63% of males
Tritanomaly #006fc4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2152f2 {
  color: #2152f2;
}
Background
.bg-2152f2 {
  background-color: #2152f2;
  color: #ffffff;
}
Border
.border-2152f2 {
  border: 2px solid #2152f2;
}
CSS variables
:root {
  --color-primary: #2152f2;
  --color-primary-rgb: 33 82 242;
  --color-primary-hsl: 226 89% 54%;
}
Gradient
.gradient-2152f2 {
  background: linear-gradient(135deg, #2152f2, #5821f2);
}
Colored shadow
.shadow-2152f2 {
  box-shadow: 0 8px 24px rgb(33 82 242 / 0.35);
}

Majorelle Blue
#2152f2  rgb(33, 82, 242)  hsl(226, 89%, 54%)  Majorelle Blue
#f2c121  rgb(242, 193, 33)  hsl(46, 89%, 54%)  Saffron
#f22152  rgb(242, 33, 82)  hsl(346, 89%, 54%)  Folly
#52f221  rgb(82, 242, 33)  hsl(106, 89%, 54%)  Neon Green