#2228CC

#2228cc ≈ Persian Blue

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

#2228cc is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 13.33% red, 15.69% green and 80% blue; printed in CMYK it uses 83.33% cyan, 80.39% magenta, 0% yellow and 20% black. Its hue angle is 237.88°, with 71.43% saturation and 46.67% 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 9.36:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 4.69.

Description generated from the measured properties of this color.

Conversions of #2228cc 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.0622

Readable text 9.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.24:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #474747 ≈ 0.003% of males
Achromatomaly #3b3c90 ≈ 0.001% of males
Protanopia #004fd0 ≈ 1.01% of males
Deuteranopia #003dc9 ≈ 1.27% of males
Tritanopia #005c7b ≈ 0.0001% of males
Protanomaly #0043cf ≈ 1.08% of males
Deuteranomaly #0036ca ≈ 4.63% of males
Tritanomaly #004ca2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2228cc {
  color: #2228cc;
}
Background
.bg-2228cc {
  background-color: #2228cc;
  color: #ffffff;
}
Border
.border-2228cc {
  border: 2px solid #2228cc;
}
CSS variables
:root {
  --color-primary: #2228cc;
  --color-primary-rgb: 34 40 204;
  --color-primary-hsl: 238 71% 47%;
}
Gradient
.gradient-2228cc {
  background: linear-gradient(135deg, #2228cc, #7122cc);
}
Colored shadow
.shadow-2228cc {
  box-shadow: 0 8px 24px rgb(34 40 204 / 0.35);
}

Persian Blue
#2228cc  rgb(34, 40, 204)  hsl(238, 71%, 47%)  Persian Blue
#ccc622  rgb(204, 198, 34)  hsl(58, 71%, 47%)  Citrine
#cc2228  rgb(204, 34, 40)  hsl(358, 71%, 47%)  Fire Engine Red
#28cc22  rgb(40, 204, 34)  hsl(118, 71%, 47%)  Lime Green