#2F52A6

#2f52a6 ≈ Sapphire

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

#2f52a6 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 18.43% red, 32.16% green and 65.1% blue; printed in CMYK it uses 71.69% cyan, 50.6% magenta, 0% yellow and 34.9% black. Its hue angle is 222.35°, 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 7.3:1 (WCAG AAA). The closest named color is Sapphire (#0f52ba), ΔE 2.94.

Description generated from the measured properties of this color.

Conversions of #2f52a6 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.0939

Readable text 7.3:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.88:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #4a557e ≈ 0.001% of males
Protanopia #215ca9 ≈ 1.01% of males
Deuteranopia #0051a4 ≈ 1.27% of males
Tritanopia #006674 ≈ 0.0001% of males
Protanomaly #2758a8 ≈ 1.08% of males
Deuteranomaly #1852a5 ≈ 4.63% of males
Tritanomaly #005f8b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Sapphire
#2f52a6  rgb(47, 82, 166)  hsl(222, 56%, 42%)  Sapphire
#a6832f  rgb(166, 131, 47)  hsl(42, 56%, 42%)  Dark Goldenrod
#a62f52  rgb(166, 47, 82)  hsl(342, 56%, 42%)  Jazzberry Jam
#52a62f  rgb(82, 166, 47)  hsl(102, 56%, 42%)  Kelly Green