#305BB2

#305bb2 ≈ Denim

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

#305bb2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.82% red, 35.69% green and 69.8% blue; printed in CMYK it uses 73.03% cyan, 48.88% magenta, 0% yellow and 30.2% black. Its hue angle is 220.15°, with 57.52% saturation and 44.31% 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.43:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 3.2.

Description generated from the measured properties of this color.

Conversions of #305bb2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#336699
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1132

Readable text 6.43:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.26:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5f5f5f ≈ 0.003% of males
Achromatomaly #505d88 ≈ 0.001% of males
Protanopia #2a65b5 ≈ 1.01% of males
Deuteranopia #0059b0 ≈ 1.27% of males
Tritanopia #00707e ≈ 0.0001% of males
Protanomaly #2d61b4 ≈ 1.08% of males
Deuteranomaly #1c5ab1 ≈ 4.63% of males
Tritanomaly #006895 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-305bb2 {
  color: #305bb2;
}
Background
.bg-305bb2 {
  background-color: #305bb2;
  color: #ffffff;
}
Border
.border-305bb2 {
  border: 2px solid #305bb2;
}
CSS variables
:root {
  --color-primary: #305bb2;
  --color-primary-rgb: 48 91 178;
  --color-primary-hsl: 220 58% 44%;
}
Gradient
.gradient-305bb2 {
  background: linear-gradient(135deg, #305bb2, #4630b2);
}
Colored shadow
.shadow-305bb2 {
  box-shadow: 0 8px 24px rgb(48 91 178 / 0.35);
}

Denim
#305bb2  rgb(48, 91, 178)  hsl(220, 58%, 44%)  Denim
#b28730  rgb(178, 135, 48)  hsl(40, 58%, 44%)  Dark Goldenrod
#b2305b  rgb(178, 48, 91)  hsl(340, 58%, 44%)  Dogwood Rose
#5bb230  rgb(91, 178, 48)  hsl(100, 58%, 44%)  Kelly Green