#2F5AAA

#2f5aaa ≈ Sapphire

  • azure
  • Lightness: medium
  • Saturation: moderate
  • Cool

#2f5aaa is a color from the azure family, with medium lightness and moderate saturation. In the RGB model it is made of 18.43% red, 35.29% green and 66.67% blue; printed in CMYK it uses 72.35% cyan, 47.06% magenta, 0% yellow and 33.33% black. Its hue angle is 219.02°, with 56.68% saturation and 42.55% 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.64:1 (WCAG AA). The closest named color is Sapphire (#0f52ba), ΔE 3.37.

Description generated from the measured properties of this color.

Conversions of #2f5aaa 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.1082

Readable text 6.64:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.16:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5c5c5c ≈ 0.003% of males
Achromatomaly #4e5b83 ≈ 0.001% of males
Protanopia #3063ad ≈ 1.01% of males
Deuteranopia #1457a8 ≈ 1.27% of males
Tritanopia #006d7a ≈ 0.0001% of males
Protanomaly #305fac ≈ 1.08% of males
Deuteranomaly #2158a9 ≈ 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-2f5aaa {
  color: #2f5aaa;
}
Background
.bg-2f5aaa {
  background-color: #2f5aaa;
  color: #ffffff;
}
Border
.border-2f5aaa {
  border: 2px solid #2f5aaa;
}
CSS variables
:root {
  --color-primary: #2f5aaa;
  --color-primary-rgb: 47 90 170;
  --color-primary-hsl: 219 57% 43%;
}
Gradient
.gradient-2f5aaa {
  background: linear-gradient(135deg, #2f5aaa, #412faa);
}
Colored shadow
.shadow-2f5aaa {
  box-shadow: 0 8px 24px rgb(47 90 170 / 0.35);
}

Sapphire
#2f5aaa  rgb(47, 90, 170)  hsl(219, 57%, 43%)  Sapphire
#aa7f2f  rgb(170, 127, 47)  hsl(39, 57%, 43%)  Dark Goldenrod
#aa2f5a  rgb(170, 47, 90)  hsl(339, 57%, 43%)  Jazzberry Jam
#5aaa2f  rgb(90, 170, 47)  hsl(99, 57%, 43%)  Kelly Green