#313FFC

#313ffc ≈ Majorelle Blue

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

#313ffc is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 19.22% red, 24.71% green and 98.82% blue; printed in CMYK it uses 80.56% cyan, 75% magenta, 0% yellow and 1.18% black. Its hue angle is 235.86°, with 97.13% saturation and 59.02% 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.47:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 6.11.

Description generated from the measured properties of this color.

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

Readable text 6.47:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.25:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5e5e5e ≈ 0.003% of males
Achromatomaly #5053b4 ≈ 0.001% of males
Protanopia #0068ff ≈ 1.01% of males
Deuteranopia #0054f9 ≈ 1.27% of males
Tritanopia #00789c ≈ 0.0001% of males
Protanomaly #005aff ≈ 1.08% of males
Deuteranomaly #004cfa ≈ 4.63% of males
Tritanomaly #0066ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-313ffc {
  color: #313ffc;
}
Background
.bg-313ffc {
  background-color: #313ffc;
  color: #ffffff;
}
Border
.border-313ffc {
  border: 2px solid #313ffc;
}
CSS variables
:root {
  --color-primary: #313ffc;
  --color-primary-rgb: 49 63 252;
  --color-primary-hsl: 236 97% 59%;
}
Gradient
.gradient-313ffc {
  background: linear-gradient(135deg, #313ffc, #8831fc);
}
Colored shadow
.shadow-313ffc {
  box-shadow: 0 8px 24px rgb(49 63 252 / 0.35);
}

Majorelle Blue
#313ffc  rgb(49, 63, 252)  hsl(236, 97%, 59%)  Majorelle Blue
#fcee31  rgb(252, 238, 49)  hsl(56, 97%, 59%)  Aureolin
#fc313f  rgb(252, 49, 63)  hsl(356, 97%, 59%)  Tractor Red
#3ffc31  rgb(63, 252, 49)  hsl(116, 97%, 59%)  Neon Green