#2227DC

#2227dc ≈ Blue

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

#2227dc 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.29% green and 86.27% blue; printed in CMYK it uses 84.55% cyan, 82.27% magenta, 0% yellow and 13.73% black. Its hue angle is 238.39°, with 73.23% saturation and 49.8% 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.78:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 4.2.

Description generated from the measured properties of this color.

Conversions of #2227dc 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.0696

Readable text 8.78:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.39:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4b4b4b ≈ 0.003% of males
Achromatomaly #3e3f9b ≈ 0.001% of males
Protanopia #0054e1 ≈ 1.01% of males
Deuteranopia #0040d9 ≈ 1.27% of males
Tritanopia #006284 ≈ 0.0001% of males
Protanomaly #0046df ≈ 1.08% of males
Deuteranomaly #0038da ≈ 4.63% of males
Tritanomaly #0051ae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2227dc {
  color: #2227dc;
}
Background
.bg-2227dc {
  background-color: #2227dc;
  color: #ffffff;
}
Border
.border-2227dc {
  border: 2px solid #2227dc;
}
CSS variables
:root {
  --color-primary: #2227dc;
  --color-primary-rgb: 34 39 220;
  --color-primary-hsl: 238 73% 50%;
}
Gradient
.gradient-2227dc {
  background: linear-gradient(135deg, #2227dc, #7a22dc);
}
Colored shadow
.shadow-2227dc {
  box-shadow: 0 8px 24px rgb(34 39 220 / 0.35);
}

Blue
#2227dc  rgb(34, 39, 220)  hsl(238, 73%, 50%)  Blue
#dcd722  rgb(220, 215, 34)  hsl(58, 73%, 50%)  Dandelion
#dc2227  rgb(220, 34, 39)  hsl(358, 73%, 50%)  Cadmium Red
#27dc22  rgb(39, 220, 34)  hsl(118, 73%, 50%)  Lime Green