#305ECF

#305ecf ≈ Denim

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

#305ecf is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.82% red, 36.86% green and 81.18% blue; printed in CMYK it uses 76.81% cyan, 54.59% magenta, 0% yellow and 18.82% black. Its hue angle is 222.64°, with 62.35% saturation and 50% 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.79:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 4.32.

Description generated from the measured properties of this color.

Conversions of #305ecf 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.1314

Readable text 5.79:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.63:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #55639b ≈ 0.001% of males
Protanopia #006dd3 ≈ 1.01% of males
Deuteranopia #005ecd ≈ 1.27% of males
Tritanopia #007a8d ≈ 0.0001% of males
Protanomaly #1767d1 ≈ 1.08% of males
Deuteranomaly #005ece ≈ 4.63% of males
Tritanomaly #0070ab ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-305ecf {
  color: #305ecf;
}
Background
.bg-305ecf {
  background-color: #305ecf;
  color: #ffffff;
}
Border
.border-305ecf {
  border: 2px solid #305ecf;
}
CSS variables
:root {
  --color-primary: #305ecf;
  --color-primary-rgb: 48 94 207;
  --color-primary-hsl: 223 62% 50%;
}
Gradient
.gradient-305ecf {
  background: linear-gradient(135deg, #305ecf, #5130cf);
}
Colored shadow
.shadow-305ecf {
  box-shadow: 0 8px 24px rgb(48 94 207 / 0.35);
}

Denim
#305ecf  rgb(48, 94, 207)  hsl(223, 62%, 50%)  Denim
#cfa130  rgb(207, 161, 48)  hsl(43, 62%, 50%)  Goldenrod
#cf305e  rgb(207, 48, 94)  hsl(343, 62%, 50%)  Ruby
#5ecf30  rgb(94, 207, 48)  hsl(103, 62%, 50%)  Lime Green