#331DCF

#331dcf ≈ Medium Blue

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

#331dcf is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 11.37% green and 81.18% blue; printed in CMYK it uses 75.36% cyan, 85.99% magenta, 0% yellow and 18.82% black. Its hue angle is 247.42°, with 75.42% saturation and 46.27% 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.47:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 3.78.

Description generated from the measured properties of this color.

Conversions of #331dcf 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.0609

Readable text 9.47:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.22:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #464646 ≈ 0.003% of males
Achromatomaly #3f3992 ≈ 0.001% of males
Protanopia #004ed4 ≈ 1.01% of males
Deuteranopia #003dcc ≈ 1.27% of males
Tritanopia #00597b ≈ 0.0001% of males
Protanomaly #003fd2 ≈ 1.08% of males
Deuteranomaly #0033cd ≈ 4.63% of males
Tritanomaly #0048a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-331dcf {
  color: #331dcf;
}
Background
.bg-331dcf {
  background-color: #331dcf;
  color: #ffffff;
}
Border
.border-331dcf {
  border: 2px solid #331dcf;
}
CSS variables
:root {
  --color-primary: #331dcf;
  --color-primary-rgb: 51 29 207;
  --color-primary-hsl: 247 75% 46%;
}
Gradient
.gradient-331dcf {
  background: linear-gradient(135deg, #331dcf, #8c1dcf);
}
Colored shadow
.shadow-331dcf {
  box-shadow: 0 8px 24px rgb(51 29 207 / 0.35);
}

Medium Blue
#331dcf  rgb(51, 29, 207)  hsl(247, 75%, 46%)  Medium Blue
#b9cf1d  rgb(185, 207, 29)  hsl(67, 75%, 46%)  Pear
#cf331d  rgb(207, 51, 29)  hsl(7, 75%, 46%)  Rosso Corsa
#1dcf33  rgb(29, 207, 51)  hsl(127, 75%, 46%)  Lime Green