#304F98

#304f98 ≈ Yale Blue

  • blue
  • Lightness: low
  • Saturation: moderate
  • Cool

#304f98 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 18.82% red, 30.98% green and 59.61% blue; printed in CMYK it uses 68.42% cyan, 48.03% magenta, 0% yellow and 40.39% black. Its hue angle is 222.12°, with 52% saturation and 39.22% 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.79:1 (WCAG AAA). The closest named color is Yale Blue (#0f4d92), ΔE 3.84.

Description generated from the measured properties of this color.

Conversions of #304f98 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.0849

Readable text 7.79:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #475175 ≈ 0.001% of males
Protanopia #29579b ≈ 1.01% of males
Deuteranopia #134e97 ≈ 1.27% of males
Tritanopia #00606c ≈ 0.0001% of males
Protanomaly #2c549a ≈ 1.08% of males
Deuteranomaly #224e97 ≈ 4.63% of males
Tritanomaly #005a80 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-304f98 {
  color: #304f98;
}
Background
.bg-304f98 {
  background-color: #304f98;
  color: #ffffff;
}
Border
.border-304f98 {
  border: 2px solid #304f98;
}
CSS variables
:root {
  --color-primary: #304f98;
  --color-primary-rgb: 48 79 152;
  --color-primary-hsl: 222 52% 39%;
}
Gradient
.gradient-304f98 {
  background: linear-gradient(135deg, #304f98, #453098);
}
Colored shadow
.shadow-304f98 {
  box-shadow: 0 8px 24px rgb(48 79 152 / 0.35);
}

Yale Blue
#304f98  rgb(48, 79, 152)  hsl(222, 52%, 39%)  Yale Blue
#987930  rgb(152, 121, 48)  hsl(42, 52%, 39%)  Golden Brown
#98304f  rgb(152, 48, 79)  hsl(342, 52%, 39%)  Jazzberry Jam
#4f9830  rgb(79, 152, 48)  hsl(102, 52%, 39%)  Islamic Green