#2F40A6

#2f40a6 ≈ Persian Blue

  • blue
  • Lightness: medium
  • Saturation: moderate
  • Cool

#2f40a6 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 18.43% red, 25.1% green and 65.1% blue; printed in CMYK it uses 71.69% cyan, 61.45% magenta, 0% yellow and 34.9% black. Its hue angle is 231.43°, with 55.87% saturation and 41.76% 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.73:1 (WCAG AAA). The closest named color is Persian Blue (#1c39bb), ΔE 3.61.

Description generated from the measured properties of this color.

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

Readable text 8.73:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.4:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4b4b4b ≈ 0.003% of males
Achromatomaly #41477a ≈ 0.001% of males
Protanopia #0051a9 ≈ 1.01% of males
Deuteranopia #0046a4 ≈ 1.27% of males
Tritanopia #005a6d ≈ 0.0001% of males
Protanomaly #004aa8 ≈ 1.08% of males
Deuteranomaly #0043a5 ≈ 4.63% of males
Tritanomaly #005187 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f40a6 {
  color: #2f40a6;
}
Background
.bg-2f40a6 {
  background-color: #2f40a6;
  color: #ffffff;
}
Border
.border-2f40a6 {
  border: 2px solid #2f40a6;
}
CSS variables
:root {
  --color-primary: #2f40a6;
  --color-primary-rgb: 47 64 166;
  --color-primary-hsl: 231 56% 42%;
}
Gradient
.gradient-2f40a6 {
  background: linear-gradient(135deg, #2f40a6, #592fa6);
}
Colored shadow
.shadow-2f40a6 {
  box-shadow: 0 8px 24px rgb(47 64 166 / 0.35);
}

Persian Blue
#2f40a6  rgb(47, 64, 166)  hsl(231, 56%, 42%)  Persian Blue
#a6952f  rgb(166, 149, 47)  hsl(51, 56%, 42%)  Brass
#a62f40  rgb(166, 47, 64)  hsl(351, 56%, 42%)  Vivid Burgundy
#40a62f  rgb(64, 166, 47)  hsl(111, 56%, 42%)  Kelly Green