#313FF4

#313ff4 ≈ Majorelle Blue

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

#313ff4 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 95.69% blue; printed in CMYK it uses 79.92% cyan, 74.18% magenta, 0% yellow and 4.31% black. Its hue angle is 235.69°, with 89.86% saturation and 57.45% 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.67:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 6.04.

Description generated from the measured properties of this color.

Conversions of #313ff4 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.1074

Readable text 6.67:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.15:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5c5c5c ≈ 0.003% of males
Achromatomaly #4e52af ≈ 0.001% of males
Protanopia #0066f9 ≈ 1.01% of males
Deuteranopia #0052f1 ≈ 1.27% of males
Tritanopia #007597 ≈ 0.0001% of males
Protanomaly #0059f7 ≈ 1.08% of males
Deuteranomaly #004bf2 ≈ 4.63% of males
Tritanomaly #0064c3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-313ff4 {
  color: #313ff4;
}
Background
.bg-313ff4 {
  background-color: #313ff4;
  color: #ffffff;
}
Border
.border-313ff4 {
  border: 2px solid #313ff4;
}
CSS variables
:root {
  --color-primary: #313ff4;
  --color-primary-rgb: 49 63 244;
  --color-primary-hsl: 236 90% 57%;
}
Gradient
.gradient-313ff4 {
  background: linear-gradient(135deg, #313ff4, #8431f4);
}
Colored shadow
.shadow-313ff4 {
  box-shadow: 0 8px 24px rgb(49 63 244 / 0.35);
}

Majorelle Blue
#313ff4  rgb(49, 63, 244)  hsl(236, 90%, 57%)  Majorelle Blue
#f4e631  rgb(244, 230, 49)  hsl(56, 90%, 57%)  Dandelion
#f4313f  rgb(244, 49, 63)  hsl(356, 90%, 57%)  Tractor Red
#3ff431  rgb(63, 244, 49)  hsl(116, 90%, 57%)  Neon Green