#304FEC

#304fec ≈ Majorelle Blue

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

#304fec is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 18.82% red, 30.98% green and 92.55% blue; printed in CMYK it uses 79.66% cyan, 66.53% magenta, 0% yellow and 7.45% black. Its hue angle is 230.11°, with 83.19% saturation and 55.69% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 6.08:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 5.14.

Description generated from the measured properties of this color.

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

Readable text 6.08:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.46:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #535bab ≈ 0.001% of males
Protanopia #006bf1 ≈ 1.01% of males
Deuteranopia #0059e9 ≈ 1.27% of males
Tritanopia #007a97 ≈ 0.0001% of males
Protanomaly #0061ef ≈ 1.08% of males
Deuteranomaly #0055ea ≈ 4.63% of males
Tritanomaly #006bbf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-304fec {
  color: #304fec;
}
Background
.bg-304fec {
  background-color: #304fec;
  color: #ffffff;
}
Border
.border-304fec {
  border: 2px solid #304fec;
}
CSS variables
:root {
  --color-primary: #304fec;
  --color-primary-rgb: 48 79 236;
  --color-primary-hsl: 230 83% 56%;
}
Gradient
.gradient-304fec {
  background: linear-gradient(135deg, #304fec, #6f30ec);
}
Colored shadow
.shadow-304fec {
  box-shadow: 0 8px 24px rgb(48 79 236 / 0.35);
}

Majorelle Blue
#304fec  rgb(48, 79, 236)  hsl(230, 83%, 56%)  Majorelle Blue
#eccd30  rgb(236, 205, 48)  hsl(50, 83%, 56%)  Jonquil
#ec304f  rgb(236, 48, 79)  hsl(350, 83%, 56%)  Amaranth
#4fec30  rgb(79, 236, 48)  hsl(110, 83%, 56%)  Neon Green