#331ED8

#331ed8 ≈ Blue

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

#331ed8 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 11.76% green and 84.71% blue; printed in CMYK it uses 76.39% cyan, 86.11% magenta, 0% yellow and 15.29% black. Its hue angle is 246.77°, with 75.61% saturation and 48.24% 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.06:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 4.

Description generated from the measured properties of this color.

Conversions of #331ed8 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.0659

Readable text 9.06:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.32:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #494949 ≈ 0.003% of males
Achromatomaly #413c98 ≈ 0.001% of males
Protanopia #0051dd ≈ 1.01% of males
Deuteranopia #0040d5 ≈ 1.27% of males
Tritanopia #005e81 ≈ 0.0001% of males
Protanomaly #0042db ≈ 1.08% of males
Deuteranomaly #0035d6 ≈ 4.63% of males
Tritanomaly #004cab ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331ed8 {
  color: #331ed8;
}
Background
.bg-331ed8 {
  background-color: #331ed8;
  color: #ffffff;
}
Border
.border-331ed8 {
  border: 2px solid #331ed8;
}
CSS variables
:root {
  --color-primary: #331ed8;
  --color-primary-rgb: 51 30 216;
  --color-primary-hsl: 247 76% 48%;
}
Gradient
.gradient-331ed8 {
  background: linear-gradient(135deg, #331ed8, #901ed8);
}
Colored shadow
.shadow-331ed8 {
  box-shadow: 0 8px 24px rgb(51 30 216 / 0.35);
}

Blue
#331ed8  rgb(51, 30, 216)  hsl(247, 76%, 48%)  Blue
#c3d81e  rgb(195, 216, 30)  hsl(67, 76%, 48%)  Pear
#d8331e  rgb(216, 51, 30)  hsl(7, 76%, 48%)  Lust
#1ed833  rgb(30, 216, 51)  hsl(127, 76%, 48%)  Lime Green