#304FAC

#304fac ≈ Sapphire

  • blue
  • Lightness: medium
  • Saturation: moderate
  • Cool

#304fac is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 18.82% red, 30.98% green and 67.45% blue; printed in CMYK it uses 72.09% cyan, 54.07% magenta, 0% yellow and 32.55% black. Its hue angle is 225°, with 56.36% saturation and 43.14% 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.39:1 (WCAG AAA). The closest named color is Sapphire (#0f52ba), ΔE 3.06.

Description generated from the measured properties of this color.

Conversions of #304fac 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.092

Readable text 7.39:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.84:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #495381 ≈ 0.001% of males
Protanopia #085baf ≈ 1.01% of males
Deuteranopia #0050aa ≈ 1.27% of males
Tritanopia #006576 ≈ 0.0001% of males
Protanomaly #1e57ae ≈ 1.08% of males
Deuteranomaly #0850ab ≈ 4.63% of males
Tritanomaly #005d8f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-304fac {
  color: #304fac;
}
Background
.bg-304fac {
  background-color: #304fac;
  color: #ffffff;
}
Border
.border-304fac {
  border: 2px solid #304fac;
}
CSS variables
:root {
  --color-primary: #304fac;
  --color-primary-rgb: 48 79 172;
  --color-primary-hsl: 225 56% 43%;
}
Gradient
.gradient-304fac {
  background: linear-gradient(135deg, #304fac, #4f30ac);
}
Colored shadow
.shadow-304fac {
  box-shadow: 0 8px 24px rgb(48 79 172 / 0.35);
}

Sapphire
#304fac  rgb(48, 79, 172)  hsl(225, 56%, 43%)  Sapphire
#ac8d30  rgb(172, 141, 48)  hsl(45, 56%, 43%)  Dark Goldenrod
#ac304f  rgb(172, 48, 79)  hsl(345, 56%, 43%)  Vivid Burgundy
#4fac30  rgb(79, 172, 48)  hsl(105, 56%, 43%)  Kelly Green