#3840FF

#3840ff ≈ Majorelle Blue

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

#3840ff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 21.96% red, 25.1% green and 100% blue; printed in CMYK it uses 78.04% cyan, 74.9% magenta, 0% yellow and 0% black. Its hue angle is 237.59°, with 100% saturation and 60.98% 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.28:1 (WCAG AA). The closest named color is Majorelle Blue (#6050dc), ΔE 5.82.

Description generated from the measured properties of this color.

Conversions of #3840ff 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.1173

Readable text 6.28:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.35:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #606060 ≈ 0.003% of males
Achromatomaly #5355b6 ≈ 0.001% of males
Protanopia #006aff ≈ 1.01% of males
Deuteranopia #0056fc ≈ 1.27% of males
Tritanopia #00799d ≈ 0.0001% of males
Protanomaly #005cff ≈ 1.08% of males
Deuteranomaly #004efd ≈ 4.63% of males
Tritanomaly #0067cc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-3840ff {
  color: #3840ff;
}
Background
.bg-3840ff {
  background-color: #3840ff;
  color: #ffffff;
}
Border
.border-3840ff {
  border: 2px solid #3840ff;
}
CSS variables
:root {
  --color-primary: #3840ff;
  --color-primary-rgb: 56 64 255;
  --color-primary-hsl: 238 100% 61%;
}
Gradient
.gradient-3840ff {
  background: linear-gradient(135deg, #3840ff, #9438ff);
}
Colored shadow
.shadow-3840ff {
  box-shadow: 0 8px 24px rgb(56 64 255 / 0.35);
}

Majorelle Blue
#3840ff  rgb(56, 64, 255)  hsl(238, 100%, 61%)  Majorelle Blue
#fff738  rgb(255, 247, 56)  hsl(58, 100%, 61%)  Lemon
#ff3840  rgb(255, 56, 64)  hsl(358, 100%, 61%)  Tractor Red
#40ff38  rgb(64, 255, 56)  hsl(118, 100%, 61%)  Neon Green