#304FF2

#304ff2 ≈ Majorelle Blue

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#304ff2 is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 18.82% red, 30.98% green and 94.9% blue; printed in CMYK it uses 80.17% cyan, 67.36% magenta, 0% yellow and 5.1% black. Its hue angle is 230.41°, with 88.18% saturation and 56.86% 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 5.96: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 #304ff2 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.1263

Readable text 5.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.53:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #646464 ≈ 0.003% of males
Achromatomaly #545caf ≈ 0.001% of males
Protanopia #006df7 ≈ 1.01% of males
Deuteranopia #005aef ≈ 1.27% of males
Tritanopia #007c9a ≈ 0.0001% of males
Protanomaly #0062f5 ≈ 1.08% of males
Deuteranomaly #0056f0 ≈ 4.63% of males
Tritanomaly #006dc4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-304ff2 {
  color: #304ff2;
}
Background
.bg-304ff2 {
  background-color: #304ff2;
  color: #ffffff;
}
Border
.border-304ff2 {
  border: 2px solid #304ff2;
}
CSS variables
:root {
  --color-primary: #304ff2;
  --color-primary-rgb: 48 79 242;
  --color-primary-hsl: 230 88% 57%;
}
Gradient
.gradient-304ff2 {
  background: linear-gradient(135deg, #304ff2, #7230f2);
}
Colored shadow
.shadow-304ff2 {
  box-shadow: 0 8px 24px rgb(48 79 242 / 0.35);
}

Majorelle Blue
#304ff2  rgb(48, 79, 242)  hsl(230, 88%, 57%)  Majorelle Blue
#f2d330  rgb(242, 211, 48)  hsl(50, 88%, 57%)  Gold
#f2304f  rgb(242, 48, 79)  hsl(350, 88%, 57%)  Folly
#4ff230  rgb(79, 242, 48)  hsl(110, 88%, 57%)  Neon Green