#2D31DF

#2d31df ≈ Blue

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

#2d31df is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 17.65% red, 19.22% green and 87.45% blue; printed in CMYK it uses 79.82% cyan, 78.03% magenta, 0% yellow and 12.55% black. Its hue angle is 238.65°, with 73.55% saturation and 52.55% 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.03:1 (WCAG AAA). The closest named color is Blue (#0000ff), ΔE 5.18.

Description generated from the measured properties of this color.

Conversions of #2d31df 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.0808

Readable text 8.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #45469e ≈ 0.001% of males
Protanopia #0059e4 ≈ 1.01% of males
Deuteranopia #0047dc ≈ 1.27% of males
Tritanopia #006788 ≈ 0.0001% of males
Protanomaly #004ce2 ≈ 1.08% of males
Deuteranomaly #003fdd ≈ 4.63% of males
Tritanomaly #0056b2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2d31df {
  color: #2d31df;
}
Background
.bg-2d31df {
  background-color: #2d31df;
  color: #ffffff;
}
Border
.border-2d31df {
  border: 2px solid #2d31df;
}
CSS variables
:root {
  --color-primary: #2d31df;
  --color-primary-rgb: 45 49 223;
  --color-primary-hsl: 239 74% 53%;
}
Gradient
.gradient-2d31df {
  background: linear-gradient(135deg, #2d31df, #822ddf);
}
Colored shadow
.shadow-2d31df {
  box-shadow: 0 8px 24px rgb(45 49 223 / 0.35);
}

Blue
#2d31df  rgb(45, 49, 223)  hsl(239, 74%, 53%)  Blue
#dfdb2d  rgb(223, 219, 45)  hsl(59, 74%, 53%)  Dandelion
#df2d31  rgb(223, 45, 49)  hsl(359, 74%, 53%)  Cadmium Red
#31df2d  rgb(49, 223, 45)  hsl(119, 74%, 53%)  Malachite