#242FF2

#242ff2 ≈ Han Purple

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

#242ff2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 14.12% red, 18.43% green and 94.9% blue; printed in CMYK it uses 85.12% cyan, 80.58% magenta, 0% yellow and 5.1% black. Its hue angle is 236.8°, with 88.79% 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 7.6:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.13.

Description generated from the measured properties of this color.

Conversions of #242ff2 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.0882

Readable text 7.6:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.76:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #4548ab ≈ 0.001% of males
Protanopia #005ef7 ≈ 1.01% of males
Deuteranopia #0049ef ≈ 1.27% of males
Tritanopia #006e92 ≈ 0.0001% of males
Protanomaly #004ff5 ≈ 1.08% of males
Deuteranomaly #0040f0 ≈ 4.63% of males
Tritanomaly #005bc0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#242ff2  rgb(36, 47, 242)  hsl(237, 89%, 55%)  Han Purple
#f2e724  rgb(242, 231, 36)  hsl(57, 89%, 55%)  Titanium Yellow
#f2242f  rgb(242, 36, 47)  hsl(357, 89%, 55%)  Tractor Red
#2ff224  rgb(47, 242, 36)  hsl(117, 89%, 55%)  Lime