#305CBA

#305cba ≈ Denim

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

#305cba 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.08% green and 72.94% blue; printed in CMYK it uses 74.19% cyan, 50.54% magenta, 0% yellow and 27.06% black. Its hue angle is 220.87°, with 58.97% saturation and 45.88% 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.24:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 3.07.

Description generated from the measured properties of this color.

Conversions of #305cba 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.1183

Readable text 6.24:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.37:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #616161 ≈ 0.003% of males
Achromatomaly #515f8d ≈ 0.001% of males
Protanopia #2367bd ≈ 1.01% of males
Deuteranopia #005bb8 ≈ 1.27% of males
Tritanopia #007282 ≈ 0.0001% of males
Protanomaly #2963bc ≈ 1.08% of males
Deuteranomaly #135bb9 ≈ 4.63% of males
Tritanomaly #006a9c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-305cba {
  color: #305cba;
}
Background
.bg-305cba {
  background-color: #305cba;
  color: #ffffff;
}
Border
.border-305cba {
  border: 2px solid #305cba;
}
CSS variables
:root {
  --color-primary: #305cba;
  --color-primary-rgb: 48 92 186;
  --color-primary-hsl: 221 59% 46%;
}
Gradient
.gradient-305cba {
  background: linear-gradient(135deg, #305cba, #4930ba);
}
Colored shadow
.shadow-305cba {
  box-shadow: 0 8px 24px rgb(48 92 186 / 0.35);
}

Denim
#305cba  rgb(48, 92, 186)  hsl(221, 59%, 46%)  Denim
#ba8e30  rgb(186, 142, 48)  hsl(41, 59%, 46%)  Dark Goldenrod
#ba305c  rgb(186, 48, 92)  hsl(341, 59%, 46%)  Dogwood Rose
#5cba30  rgb(92, 186, 48)  hsl(101, 59%, 46%)  Kelly Green