#304CBB

#304cbb ≈ Sapphire

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

#304cbb 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.8% green and 73.33% blue; printed in CMYK it uses 74.33% cyan, 59.36% magenta, 0% yellow and 26.67% black. Its hue angle is 227.91°, with 59.15% saturation and 46.08% 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.3:1 (WCAG AAA). The closest named color is Sapphire (#0f52ba), ΔE 3.91.

Description generated from the measured properties of this color.

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

Readable text 7.3:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.88:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #4a528a ≈ 0.001% of males
Protanopia #005dbf ≈ 1.01% of males
Deuteranopia #0050b9 ≈ 1.27% of males
Tritanopia #00687c ≈ 0.0001% of males
Protanomaly #0057bd ≈ 1.08% of males
Deuteranomaly #004eba ≈ 4.63% of males
Tritanomaly #005e99 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-304cbb {
  color: #304cbb;
}
Background
.bg-304cbb {
  background-color: #304cbb;
  color: #ffffff;
}
Border
.border-304cbb {
  border: 2px solid #304cbb;
}
CSS variables
:root {
  --color-primary: #304cbb;
  --color-primary-rgb: 48 76 187;
  --color-primary-hsl: 228 59% 46%;
}
Gradient
.gradient-304cbb {
  background: linear-gradient(135deg, #304cbb, #5930bb);
}
Colored shadow
.shadow-304cbb {
  box-shadow: 0 8px 24px rgb(48 76 187 / 0.35);
}

Sapphire
#304cbb  rgb(48, 76, 187)  hsl(228, 59%, 46%)  Sapphire
#bb9f30  rgb(187, 159, 48)  hsl(48, 59%, 46%)  Brass
#bb304c  rgb(187, 48, 76)  hsl(348, 59%, 46%)  Cardinal
#4cbb30  rgb(76, 187, 48)  hsl(108, 59%, 46%)  Kelly Green