#304EA3

#304ea3 ≈ Cobalt Blue

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

#304ea3 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.59% green and 63.92% blue; printed in CMYK it uses 70.55% cyan, 52.15% magenta, 0% yellow and 36.08% black. Its hue angle is 224.35°, with 54.5% saturation and 41.37% 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.65:1 (WCAG AAA). The closest named color is Cobalt Blue (#0047ab), ΔE 3.35.

Description generated from the measured properties of this color.

Conversions of #304ea3 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.0872

Readable text 7.65:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #48517b ≈ 0.001% of males
Protanopia #1959a6 ≈ 1.01% of males
Deuteranopia #004ea1 ≈ 1.27% of males
Tritanopia #006271 ≈ 0.0001% of males
Protanomaly #2455a5 ≈ 1.08% of males
Deuteranomaly #154ea2 ≈ 4.63% of males
Tritanomaly #005b88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-304ea3 {
  color: #304ea3;
}
Background
.bg-304ea3 {
  background-color: #304ea3;
  color: #ffffff;
}
Border
.border-304ea3 {
  border: 2px solid #304ea3;
}
CSS variables
:root {
  --color-primary: #304ea3;
  --color-primary-rgb: 48 78 163;
  --color-primary-hsl: 224 55% 41%;
}
Gradient
.gradient-304ea3 {
  background: linear-gradient(135deg, #304ea3, #4c30a3);
}
Colored shadow
.shadow-304ea3 {
  box-shadow: 0 8px 24px rgb(48 78 163 / 0.35);
}

Cobalt Blue
#304ea3  rgb(48, 78, 163)  hsl(224, 55%, 41%)  Cobalt Blue
#a38530  rgb(163, 133, 48)  hsl(44, 55%, 41%)  Dark Goldenrod
#a3304e  rgb(163, 48, 78)  hsl(344, 55%, 41%)  Vivid Burgundy
#4ea330  rgb(78, 163, 48)  hsl(104, 55%, 41%)  Kelly Green