#2F28EA

#2f28ea ≈ Blue

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

#2f28ea is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 18.43% red, 15.69% green and 91.76% blue; printed in CMYK it uses 79.91% cyan, 82.91% magenta, 0% yellow and 8.24% black. Its hue angle is 242.16°, with 82.2% saturation and 53.73% 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 8.04:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 3.5.

Description generated from the measured properties of this color.

Conversions of #2f28ea 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.0806

Readable text 8.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #4543a5 ≈ 0.001% of males
Protanopia #005aef ≈ 1.01% of males
Deuteranopia #0046e7 ≈ 1.27% of males
Tritanopia #00688d ≈ 0.0001% of males
Protanomaly #004bed ≈ 1.08% of males
Deuteranomaly #003ce8 ≈ 4.63% of males
Tritanomaly #0055b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f28ea {
  color: #2f28ea;
}
Background
.bg-2f28ea {
  background-color: #2f28ea;
  color: #ffffff;
}
Border
.border-2f28ea {
  border: 2px solid #2f28ea;
}
CSS variables
:root {
  --color-primary: #2f28ea;
  --color-primary-rgb: 47 40 234;
  --color-primary-hsl: 242 82% 54%;
}
Gradient
.gradient-2f28ea {
  background: linear-gradient(135deg, #2f28ea, #9028ea);
}
Colored shadow
.shadow-2f28ea {
  box-shadow: 0 8px 24px rgb(47 40 234 / 0.35);
}

Blue
#2f28ea  rgb(47, 40, 234)  hsl(242, 82%, 54%)  Blue
#e3ea28  rgb(227, 234, 40)  hsl(62, 82%, 54%)  Pear
#ea2f28  rgb(234, 47, 40)  hsl(2, 82%, 54%)  Lust
#28ea2f  rgb(40, 234, 47)  hsl(122, 82%, 54%)  Lime