#312BDF

#312bdf ≈ Blue

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

#312bdf is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 19.22% red, 16.86% green and 87.45% blue; printed in CMYK it uses 78.03% cyan, 80.72% magenta, 0% yellow and 12.55% black. Its hue angle is 242°, with 73.77% saturation and 52.16% 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 8.26:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 4.34.

Description generated from the measured properties of this color.

Conversions of #312bdf 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.0771

Readable text 8.26:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #44439e ≈ 0.001% of males
Protanopia #0057e4 ≈ 1.01% of males
Deuteranopia #0045dc ≈ 1.27% of males
Tritanopia #006587 ≈ 0.0001% of males
Protanomaly #0049e2 ≈ 1.08% of males
Deuteranomaly #003cdd ≈ 4.63% of males
Tritanomaly #0053b1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-312bdf {
  color: #312bdf;
}
Background
.bg-312bdf {
  background-color: #312bdf;
  color: #ffffff;
}
Border
.border-312bdf {
  border: 2px solid #312bdf;
}
CSS variables
:root {
  --color-primary: #312bdf;
  --color-primary-rgb: 49 43 223;
  --color-primary-hsl: 242 74% 52%;
}
Gradient
.gradient-312bdf {
  background: linear-gradient(135deg, #312bdf, #8b2bdf);
}
Colored shadow
.shadow-312bdf {
  box-shadow: 0 8px 24px rgb(49 43 223 / 0.35);
}

Blue
#312bdf  rgb(49, 43, 223)  hsl(242, 74%, 52%)  Blue
#d9df2b  rgb(217, 223, 43)  hsl(62, 74%, 52%)  Pear
#df312b  rgb(223, 49, 43)  hsl(2, 74%, 52%)  Lust
#2bdf31  rgb(43, 223, 49)  hsl(122, 74%, 52%)  Malachite