#2F5DCC

#2f5dcc ≈ Denim

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

#2f5dcc is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.43% red, 36.47% green and 80% blue; printed in CMYK it uses 76.96% cyan, 54.41% magenta, 0% yellow and 20% black. Its hue angle is 222.42°, with 62.55% saturation and 49.22% 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 5.9:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 4.1.

Description generated from the measured properties of this color.

Conversions of #2f5dcc 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.1279

Readable text 5.9:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.56:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #646464 ≈ 0.003% of males
Achromatomaly #546199 ≈ 0.001% of males
Protanopia #006cd0 ≈ 1.01% of males
Deuteranopia #005dca ≈ 1.27% of males
Tritanopia #00788b ≈ 0.0001% of males
Protanomaly #1866ce ≈ 1.08% of males
Deuteranomaly #005dcb ≈ 4.63% of males
Tritanomaly #006ea9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f5dcc {
  color: #2f5dcc;
}
Background
.bg-2f5dcc {
  background-color: #2f5dcc;
  color: #ffffff;
}
Border
.border-2f5dcc {
  border: 2px solid #2f5dcc;
}
CSS variables
:root {
  --color-primary: #2f5dcc;
  --color-primary-rgb: 47 93 204;
  --color-primary-hsl: 222 63% 49%;
}
Gradient
.gradient-2f5dcc {
  background: linear-gradient(135deg, #2f5dcc, #502fcc);
}
Colored shadow
.shadow-2f5dcc {
  box-shadow: 0 8px 24px rgb(47 93 204 / 0.35);
}

Denim
#2f5dcc  rgb(47, 93, 204)  hsl(222, 63%, 49%)  Denim
#cc9e2f  rgb(204, 158, 47)  hsl(42, 63%, 49%)  Goldenrod
#cc2f5d  rgb(204, 47, 93)  hsl(342, 63%, 49%)  Ruby
#5dcc2f  rgb(93, 204, 47)  hsl(102, 63%, 49%)  Lime Green