#313FFD

#313ffd ≈ Majorelle Blue

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

#313ffd 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 99.22% blue; printed in CMYK it uses 80.63% cyan, 75.1% magenta, 0% yellow and 0.78% black. Its hue angle is 235.88°, with 98.08% saturation and 59.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 call-to-action buttons. White text on this color reaches a contrast ratio of 6.44:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 6.12.

Description generated from the measured properties of this color.

Conversions of #313ffd 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.113

Readable text 6.44:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.26:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5e5e5e ≈ 0.003% of males
Achromatomaly #5054b5 ≈ 0.001% of males
Protanopia #0069ff ≈ 1.01% of males
Deuteranopia #0054fa ≈ 1.27% of males
Tritanopia #00789c ≈ 0.0001% of males
Protanomaly #005bff ≈ 1.08% of males
Deuteranomaly #004cfb ≈ 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-313ffd {
  color: #313ffd;
}
Background
.bg-313ffd {
  background-color: #313ffd;
  color: #ffffff;
}
Border
.border-313ffd {
  border: 2px solid #313ffd;
}
CSS variables
:root {
  --color-primary: #313ffd;
  --color-primary-rgb: 49 63 253;
  --color-primary-hsl: 236 98% 59%;
}
Gradient
.gradient-313ffd {
  background: linear-gradient(135deg, #313ffd, #8931fd);
}
Colored shadow
.shadow-313ffd {
  box-shadow: 0 8px 24px rgb(49 63 253 / 0.35);
}

Majorelle Blue
#313ffd  rgb(49, 63, 253)  hsl(236, 98%, 59%)  Majorelle Blue
#fdef31  rgb(253, 239, 49)  hsl(56, 98%, 59%)  Aureolin
#fd313f  rgb(253, 49, 63)  hsl(356, 98%, 59%)  Tractor Red
#3ffd31  rgb(63, 253, 49)  hsl(116, 98%, 59%)  Neon Green