#2228EF

#2228ef ≈ Blue

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

#2228ef is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 13.33% red, 15.69% green and 93.73% blue; printed in CMYK it uses 85.77% cyan, 83.26% magenta, 0% yellow and 6.27% black. Its hue angle is 238.24°, with 86.5% saturation and 53.53% 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.02:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 3.32.

Description generated from the measured properties of this color.

Conversions of #2228ef 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.0809

Readable text 8.02:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #4244a8 ≈ 0.001% of males
Protanopia #005bf4 ≈ 1.01% of males
Deuteranopia #0045ec ≈ 1.27% of males
Tritanopia #006b90 ≈ 0.0001% of males
Protanomaly #004bf2 ≈ 1.08% of males
Deuteranomaly #003bed ≈ 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-2228ef {
  color: #2228ef;
}
Background
.bg-2228ef {
  background-color: #2228ef;
  color: #ffffff;
}
Border
.border-2228ef {
  border: 2px solid #2228ef;
}
CSS variables
:root {
  --color-primary: #2228ef;
  --color-primary-rgb: 34 40 239;
  --color-primary-hsl: 238 87% 54%;
}
Gradient
.gradient-2228ef {
  background: linear-gradient(135deg, #2228ef, #8222ef);
}
Colored shadow
.shadow-2228ef {
  box-shadow: 0 8px 24px rgb(34 40 239 / 0.35);
}

Blue
#2228ef  rgb(34, 40, 239)  hsl(238, 87%, 54%)  Blue
#efe922  rgb(239, 233, 34)  hsl(58, 87%, 54%)  Titanium Yellow
#ef2228  rgb(239, 34, 40)  hsl(358, 87%, 54%)  Lust
#28ef22  rgb(40, 239, 34)  hsl(118, 87%, 54%)  Lime