#381BB5

#381bb5 ≈ Medium Blue

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#381bb5 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 21.96% red, 10.59% green and 70.98% blue; printed in CMYK it uses 69.06% cyan, 85.08% magenta, 0% yellow and 29.02% black. Its hue angle is 251.3°, with 74.04% saturation and 40.78% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 10.54:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.93.

Description generated from the measured properties of this color.

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

Readable text 10.54:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.99:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3f3f3f ≈ 0.003% of males
Achromatomaly #3c3480 ≈ 0.001% of males
Protanopia #0045b9 ≈ 1.01% of males
Deuteranopia #0039b2 ≈ 1.27% of males
Tritanopia #004e6b ≈ 0.0001% of males
Protanomaly #0038b7 ≈ 1.08% of males
Deuteranomaly #002fb3 ≈ 4.63% of males
Tritanomaly #003f8f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-381bb5 {
  color: #381bb5;
}
Background
.bg-381bb5 {
  background-color: #381bb5;
  color: #ffffff;
}
Border
.border-381bb5 {
  border: 2px solid #381bb5;
}
CSS variables
:root {
  --color-primary: #381bb5;
  --color-primary-rgb: 56 27 181;
  --color-primary-hsl: 251 74% 41%;
}
Gradient
.gradient-381bb5 {
  background: linear-gradient(135deg, #381bb5, #851bb5);
}
Colored shadow
.shadow-381bb5 {
  box-shadow: 0 8px 24px rgb(56 27 181 / 0.35);
}

Medium Blue
#381bb5  rgb(56, 27, 181)  hsl(251, 74%, 41%)  Medium Blue
#98b51b  rgb(152, 181, 27)  hsl(71, 74%, 41%)  Apple Green
#b5381b  rgb(181, 56, 27)  hsl(11, 74%, 41%)  Rust
#1bb538  rgb(27, 181, 56)  hsl(131, 74%, 41%)  Kelly Green