#2A5CCB

#2a5ccb ≈ Denim

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

#2a5ccb is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 16.47% red, 36.08% green and 79.61% blue; printed in CMYK it uses 79.31% cyan, 54.68% magenta, 0% yellow and 20.39% black. Its hue angle is 221.37°, with 65.71% saturation and 48.04% 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 6.01:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 3.81.

Description generated from the measured properties of this color.

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

Readable text 6.01:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.49:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #526098 ≈ 0.001% of males
Protanopia #006bcf ≈ 1.01% of males
Deuteranopia #005cc9 ≈ 1.27% of males
Tritanopia #00778a ≈ 0.0001% of males
Protanomaly #1165cd ≈ 1.08% of males
Deuteranomaly #005cca ≈ 4.63% of males
Tritanomaly #006da8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2a5ccb {
  color: #2a5ccb;
}
Background
.bg-2a5ccb {
  background-color: #2a5ccb;
  color: #ffffff;
}
Border
.border-2a5ccb {
  border: 2px solid #2a5ccb;
}
CSS variables
:root {
  --color-primary: #2a5ccb;
  --color-primary-rgb: 42 92 203;
  --color-primary-hsl: 221 66% 48%;
}
Gradient
.gradient-2a5ccb {
  background: linear-gradient(135deg, #2a5ccb, #492acb);
}
Colored shadow
.shadow-2a5ccb {
  box-shadow: 0 8px 24px rgb(42 92 203 / 0.35);
}

Denim
#2a5ccb  rgb(42, 92, 203)  hsl(221, 66%, 48%)  Denim
#cb992a  rgb(203, 153, 42)  hsl(41, 66%, 48%)  Goldenrod
#cb2a5c  rgb(203, 42, 92)  hsl(341, 66%, 48%)  Dogwood Rose
#5ccb2a  rgb(92, 203, 42)  hsl(101, 66%, 48%)  Lime Green