#2A28DF

#2a28df ≈ Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#2a28df is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 16.47% red, 15.69% green and 87.45% blue; printed in CMYK it uses 81.17% cyan, 82.06% magenta, 0% yellow and 12.55% black. Its hue angle is 240.66°, with 74.09% saturation and 51.57% 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 brand accents. White text on this color reaches a contrast ratio of 8.51:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 4.01.

Description generated from the measured properties of this color.

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

Readable text 8.51:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.47:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4d4d4d ≈ 0.003% of males
Achromatomaly #41419d ≈ 0.001% of males
Protanopia #0056e4 ≈ 1.01% of males
Deuteranopia #0043dc ≈ 1.27% of males
Tritanopia #006486 ≈ 0.0001% of males
Protanomaly #0048e2 ≈ 1.08% of males
Deuteranomaly #003add ≈ 4.63% of males
Tritanomaly #0052b1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Blue
#2a28df  rgb(42, 40, 223)  hsl(241, 74%, 52%)  Blue
#dddf28  rgb(221, 223, 40)  hsl(61, 74%, 52%)  Pear
#df2a28  rgb(223, 42, 40)  hsl(1, 74%, 52%)  Lust
#28df2a  rgb(40, 223, 42)  hsl(121, 74%, 52%)  Malachite