#1F5AAA

#1f5aaa ≈ Denim

  • azure
  • Lightness: low
  • Saturation: strong
  • Cool

#1f5aaa is a color from the azure family, with low lightness and strong saturation. In the RGB model it is made of 12.16% red, 35.29% green and 66.67% blue; printed in CMYK it uses 81.76% cyan, 47.06% magenta, 0% yellow and 33.33% black. Its hue angle is 214.53°, with 69.15% saturation and 39.41% lightness in HSL. It is a cool color, often associated with openness, freedom and calm. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 6.77:1 (WCAG AA). The closest named color is Denim (#1560bd), ΔE 2.89.

Description generated from the measured properties of this color.

Conversions of #1f5aaa into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#336699
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1051

Readable text 6.77:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.1:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5b5b5b ≈ 0.003% of males
Achromatomaly #4a5b82 ≈ 0.001% of males
Protanopia #2e62ad ≈ 1.01% of males
Deuteranopia #0555a8 ≈ 1.27% of males
Tritanopia #006d7a ≈ 0.0001% of males
Protanomaly #295fac ≈ 1.08% of males
Deuteranomaly #1357a9 ≈ 4.63% of males
Tritanomaly #00668f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-1f5aaa {
  color: #1f5aaa;
}
Background
.bg-1f5aaa {
  background-color: #1f5aaa;
  color: #ffffff;
}
Border
.border-1f5aaa {
  border: 2px solid #1f5aaa;
}
CSS variables
:root {
  --color-primary: #1f5aaa;
  --color-primary-rgb: 31 90 170;
  --color-primary-hsl: 215 69% 39%;
}
Gradient
.gradient-1f5aaa {
  background: linear-gradient(135deg, #1f5aaa, #291faa);
}
Colored shadow
.shadow-1f5aaa {
  box-shadow: 0 8px 24px rgb(31 90 170 / 0.35);
}

Denim
#1f5aaa  rgb(31, 90, 170)  hsl(215, 69%, 39%)  Denim
#aa6f1f  rgb(170, 111, 31)  hsl(35, 69%, 39%)  Ginger
#aa1f5a  rgb(170, 31, 90)  hsl(335, 69%, 39%)  Jazzberry Jam
#5aaa1f  rgb(90, 170, 31)  hsl(95, 69%, 39%)  Kelly Green