#1222FF

#1222ff ≈ Blue

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

#1222ff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 7.06% red, 13.33% green and 100% blue; printed in CMYK it uses 92.94% cyan, 86.67% magenta, 0% yellow and 0% black. Its hue angle is 235.95°, with 100% 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 7.78:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 2.77.

Description generated from the measured properties of this color.

Conversions of #1222ff into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#0033ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0849

Readable text 7.78:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #4144b3 ≈ 0.001% of males
Protanopia #005eff ≈ 1.01% of males
Deuteranopia #0045fc ≈ 1.27% of males
Tritanopia #007098 ≈ 0.0001% of males
Protanomaly #004dff ≈ 1.08% of males
Deuteranomaly #003afd ≈ 4.63% of males
Tritanomaly #005bca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1222ff {
  color: #1222ff;
}
Background
.bg-1222ff {
  background-color: #1222ff;
  color: #ffffff;
}
Border
.border-1222ff {
  border: 2px solid #1222ff;
}
CSS variables
:root {
  --color-primary: #1222ff;
  --color-primary-rgb: 18 34 255;
  --color-primary-hsl: 236 100% 54%;
}
Gradient
.gradient-1222ff {
  background: linear-gradient(135deg, #1222ff, #7912ff);
}
Colored shadow
.shadow-1222ff {
  box-shadow: 0 8px 24px rgb(18 34 255 / 0.35);
}

Blue
#1222ff  rgb(18, 34, 255)  hsl(236, 100%, 54%)  Blue
#ffef12  rgb(255, 239, 18)  hsl(56, 100%, 54%)  Canary Yellow
#ff1222  rgb(255, 18, 34)  hsl(356, 100%, 54%)  Red
#22ff12  rgb(34, 255, 18)  hsl(116, 100%, 54%)  Lime