#2A28EF

#2a28ef ≈ Blue

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

#2a28ef is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 16.47% red, 15.69% green and 93.73% blue; printed in CMYK it uses 82.43% cyan, 83.26% magenta, 0% yellow and 6.27% black. Its hue angle is 240.6°, with 86.15% saturation and 54.71% 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.93:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 3.38.

Description generated from the measured properties of this color.

Conversions of #2a28ef 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.0824

Readable text 7.93:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #4544a9 ≈ 0.001% of males
Protanopia #005bf4 ≈ 1.01% of males
Deuteranopia #0046ec ≈ 1.27% of males
Tritanopia #006a90 ≈ 0.0001% of males
Protanomaly #004cf2 ≈ 1.08% of males
Deuteranomaly #003ced ≈ 4.63% of males
Tritanomaly #0057bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a28ef {
  color: #2a28ef;
}
Background
.bg-2a28ef {
  background-color: #2a28ef;
  color: #ffffff;
}
Border
.border-2a28ef {
  border: 2px solid #2a28ef;
}
CSS variables
:root {
  --color-primary: #2a28ef;
  --color-primary-rgb: 42 40 239;
  --color-primary-hsl: 241 86% 55%;
}
Gradient
.gradient-2a28ef {
  background: linear-gradient(135deg, #2a28ef, #8e28ef);
}
Colored shadow
.shadow-2a28ef {
  box-shadow: 0 8px 24px rgb(42 40 239 / 0.35);
}

Blue
#2a28ef  rgb(42, 40, 239)  hsl(241, 86%, 55%)  Blue
#edef28  rgb(237, 239, 40)  hsl(61, 86%, 55%)  Titanium Yellow
#ef2a28  rgb(239, 42, 40)  hsl(1, 86%, 55%)  Lust
#28ef2a  rgb(40, 239, 42)  hsl(121, 86%, 55%)  Lime