#304BB2

#304bb2 ≈ Cobalt Blue

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

#304bb2 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.82% red, 29.41% green and 69.8% blue; printed in CMYK it uses 73.03% cyan, 57.87% magenta, 0% yellow and 30.2% black. Its hue angle is 227.54°, 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 7.57:1 (WCAG AAA). The closest named color is Cobalt Blue (#0047ab), ΔE 3.53.

Description generated from the measured properties of this color.

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

Readable text 7.57:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.77:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #485184 ≈ 0.001% of males
Protanopia #005ab5 ≈ 1.01% of males
Deuteranopia #004eb0 ≈ 1.27% of males
Tritanopia #006577 ≈ 0.0001% of males
Protanomaly #0e55b4 ≈ 1.08% of males
Deuteranomaly #004db1 ≈ 4.63% of males
Tritanomaly #005b92 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Cobalt Blue
#304bb2  rgb(48, 75, 178)  hsl(228, 58%, 44%)  Cobalt Blue
#b29730  rgb(178, 151, 48)  hsl(48, 58%, 44%)  Brass
#b2304b  rgb(178, 48, 75)  hsl(348, 58%, 44%)  Cardinal
#4bb230  rgb(75, 178, 48)  hsl(108, 58%, 44%)  Kelly Green