#370ECB

#370ecb ≈ Medium Blue

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

#370ecb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 21.57% red, 5.49% green and 79.61% blue; printed in CMYK it uses 72.91% cyan, 93.1% magenta, 0% yellow and 20.39% black. Its hue angle is 253.02°, with 87.1% saturation and 42.55% 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 10.06:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.7.

Description generated from the measured properties of this color.

Conversions of #370ecb 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.0544

Readable text 10.06:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.09:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #424242 ≈ 0.003% of males
Achromatomaly #3e348e ≈ 0.001% of males
Protanopia #0049d0 ≈ 1.01% of males
Deuteranopia #003ac8 ≈ 1.27% of males
Tritanopia #005477 ≈ 0.0001% of males
Protanomaly #003ace ≈ 1.08% of males
Deuteranomaly #002ec9 ≈ 4.63% of males
Tritanomaly #0042a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-370ecb {
  color: #370ecb;
}
Background
.bg-370ecb {
  background-color: #370ecb;
  color: #ffffff;
}
Border
.border-370ecb {
  border: 2px solid #370ecb;
}
CSS variables
:root {
  --color-primary: #370ecb;
  --color-primary-rgb: 55 14 203;
  --color-primary-hsl: 253 87% 43%;
}
Gradient
.gradient-370ecb {
  background: linear-gradient(135deg, #370ecb, #960ecb);
}
Colored shadow
.shadow-370ecb {
  box-shadow: 0 8px 24px rgb(55 14 203 / 0.35);
}

Medium Blue
#370ecb  rgb(55, 14, 203)  hsl(253, 87%, 43%)  Medium Blue
#a2cb0e  rgb(162, 203, 14)  hsl(73, 87%, 43%)  Yellow Green
#cb370e  rgb(203, 55, 14)  hsl(13, 87%, 43%)  Sinopia
#0ecb37  rgb(14, 203, 55)  hsl(133, 87%, 43%)  Lime Green