#370CD8

#370cd8 ≈ Medium Blue

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#370cd8 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 21.57% red, 4.71% green and 84.71% blue; printed in CMYK it uses 74.54% cyan, 94.44% magenta, 0% yellow and 15.29% black. Its hue angle is 252.65°, with 89.47% saturation and 44.71% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 9.52:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.51.

Description generated from the measured properties of this color.

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

Readable text 9.52:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.21:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #454545 ≈ 0.003% of males
Achromatomaly #403797 ≈ 0.001% of males
Protanopia #004edd ≈ 1.01% of males
Deuteranopia #003cd5 ≈ 1.27% of males
Tritanopia #005a7f ≈ 0.0001% of males
Protanomaly #003ddb ≈ 1.08% of males
Deuteranomaly #002fd6 ≈ 4.63% of males
Tritanomaly #0047aa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-370cd8 {
  color: #370cd8;
}
Background
.bg-370cd8 {
  background-color: #370cd8;
  color: #ffffff;
}
Border
.border-370cd8 {
  border: 2px solid #370cd8;
}
CSS variables
:root {
  --color-primary: #370cd8;
  --color-primary-rgb: 55 12 216;
  --color-primary-hsl: 253 89% 45%;
}
Gradient
.gradient-370cd8 {
  background: linear-gradient(135deg, #370cd8, #9d0cd8);
}
Colored shadow
.shadow-370cd8 {
  box-shadow: 0 8px 24px rgb(55 12 216 / 0.35);
}

Medium Blue
#370cd8  rgb(55, 12, 216)  hsl(253, 89%, 45%)  Medium Blue
#add80c  rgb(173, 216, 12)  hsl(73, 89%, 45%)  Yellow Green
#d8370c  rgb(216, 55, 12)  hsl(13, 89%, 45%)  Sinopia
#0cd837  rgb(12, 216, 55)  hsl(133, 89%, 45%)  Malachite