#381DCA

#381dca ≈ Medium Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#381dca is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 21.96% red, 11.37% green and 79.22% blue; printed in CMYK it uses 72.28% cyan, 85.64% magenta, 0% yellow and 20.78% black. Its hue angle is 249.36°, with 74.89% saturation and 45.29% 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 brand accents. White text on this color reaches a contrast ratio of 9.56:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.82.

Description generated from the measured properties of this color.

Conversions of #381dca 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.0598

Readable text 9.56:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.2:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #454545 ≈ 0.003% of males
Achromatomaly #40398e ≈ 0.001% of males
Protanopia #004ccf ≈ 1.01% of males
Deuteranopia #003dc7 ≈ 1.27% of males
Tritanopia #005778 ≈ 0.0001% of males
Protanomaly #003ecd ≈ 1.08% of males
Deuteranomaly #0033c8 ≈ 4.63% of males
Tritanomaly #0047a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-381dca {
  color: #381dca;
}
Background
.bg-381dca {
  background-color: #381dca;
  color: #ffffff;
}
Border
.border-381dca {
  border: 2px solid #381dca;
}
CSS variables
:root {
  --color-primary: #381dca;
  --color-primary-rgb: 56 29 202;
  --color-primary-hsl: 249 75% 45%;
}
Gradient
.gradient-381dca {
  background: linear-gradient(135deg, #381dca, #8e1dca);
}
Colored shadow
.shadow-381dca {
  box-shadow: 0 8px 24px rgb(56 29 202 / 0.35);
}

Medium Blue
#381dca  rgb(56, 29, 202)  hsl(249, 75%, 45%)  Medium Blue
#afca1d  rgb(175, 202, 29)  hsl(69, 75%, 45%)  Yellow Green
#ca381d  rgb(202, 56, 29)  hsl(9, 75%, 45%)  Rosso Corsa
#1dca38  rgb(29, 202, 56)  hsl(129, 75%, 45%)  Lime Green