#2C6CEB

#2c6ceb ≈ Royal Blue

  • azure
  • Lightness: medium
  • Saturation: strong
  • Cool

#2c6ceb is a color from the azure family, with medium lightness and strong saturation. In the RGB model it is made of 17.25% red, 42.35% green and 92.16% blue; printed in CMYK it uses 81.28% cyan, 54.04% magenta, 0% yellow and 7.84% black. Its hue angle is 219.9°, with 82.68% saturation and 54.71% lightness in HSL. It is a cool color, often associated with openness, freedom and calm. 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 4.72:1 (WCAG AA). The closest named color is Royal Blue (#4169e1), ΔE 2.32.

Description generated from the measured properties of this color.

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

Readable text 4.72:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.45:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #5f70b0 ≈ 0.001% of males
Protanopia #007cef ≈ 1.01% of males
Deuteranopia #006be9 ≈ 1.27% of males
Tritanopia #008ca1 ≈ 0.0001% of males
Protanomaly #0f76ee ≈ 1.08% of males
Deuteranomaly #006bea ≈ 4.63% of males
Tritanomaly #0080c3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2c6ceb {
  color: #2c6ceb;
}
Background
.bg-2c6ceb {
  background-color: #2c6ceb;
  color: #ffffff;
}
Border
.border-2c6ceb {
  border: 2px solid #2c6ceb;
}
CSS variables
:root {
  --color-primary: #2c6ceb;
  --color-primary-rgb: 44 108 235;
  --color-primary-hsl: 220 83% 55%;
}
Gradient
.gradient-2c6ceb {
  background: linear-gradient(135deg, #2c6ceb, #4c2ceb);
}
Colored shadow
.shadow-2c6ceb {
  box-shadow: 0 8px 24px rgb(44 108 235 / 0.35);
}

Royal Blue
#2c6ceb  rgb(44, 108, 235)  hsl(220, 83%, 55%)  Royal Blue
#ebab2c  rgb(235, 171, 44)  hsl(40, 83%, 55%)  Marigold
#eb2c6c  rgb(235, 44, 108)  hsl(340, 83%, 55%)  Razzmatazz
#6ceb2c  rgb(108, 235, 44)  hsl(100, 83%, 55%)  Lawn Green