#2F5DCF

#2f5dcf ≈ Denim

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

#2f5dcf 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 81.18% blue; printed in CMYK it uses 77.29% cyan, 55.07% magenta, 0% yellow and 18.82% black. Its hue angle is 222.75°, with 62.99% 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 5.85:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 4.41.

Description generated from the measured properties of this color.

Conversions of #2f5dcf 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.1294

Readable text 5.85:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.59:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #54629b ≈ 0.001% of males
Protanopia #006cd3 ≈ 1.01% of males
Deuteranopia #005ecd ≈ 1.27% of males
Tritanopia #00798d ≈ 0.0001% of males
Protanomaly #1367d1 ≈ 1.08% of males
Deuteranomaly #005dce ≈ 4.63% of males
Tritanomaly #006fab ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f5dcf {
  color: #2f5dcf;
}
Background
.bg-2f5dcf {
  background-color: #2f5dcf;
  color: #ffffff;
}
Border
.border-2f5dcf {
  border: 2px solid #2f5dcf;
}
CSS variables
:root {
  --color-primary: #2f5dcf;
  --color-primary-rgb: 47 93 207;
  --color-primary-hsl: 223 63% 50%;
}
Gradient
.gradient-2f5dcf {
  background: linear-gradient(135deg, #2f5dcf, #512fcf);
}
Colored shadow
.shadow-2f5dcf {
  box-shadow: 0 8px 24px rgb(47 93 207 / 0.35);
}

Denim
#2f5dcf  rgb(47, 93, 207)  hsl(223, 63%, 50%)  Denim
#cfa12f  rgb(207, 161, 47)  hsl(43, 63%, 50%)  Goldenrod
#cf2f5d  rgb(207, 47, 93)  hsl(343, 63%, 50%)  Ruby
#5dcf2f  rgb(93, 207, 47)  hsl(103, 63%, 50%)  Lime Green