#2F5FA2

#2f5fa2 ≈ Lapis Lazuli

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

#2f5fa2 is a color from the azure family, with medium lightness and moderate saturation. In the RGB model it is made of 18.43% red, 37.25% green and 63.53% blue; printed in CMYK it uses 70.99% cyan, 41.36% magenta, 0% yellow and 36.47% black. Its hue angle is 214.96°, with 55.02% saturation and 40.98% 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.4:1 (WCAG AA). The closest named color is Lapis Lazuli (#26619c), ΔE 2.32.

Description generated from the measured properties of this color.

Conversions of #2f5fa2 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.114

Readable text 6.4:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.28:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5f5f5f ≈ 0.003% of males
Achromatomaly #505f7f ≈ 0.001% of males
Protanopia #4065a5 ≈ 1.01% of males
Deuteranopia #2d5aa1 ≈ 1.27% of males
Tritanopia #006f78 ≈ 0.0001% of males
Protanomaly #3a62a4 ≈ 1.08% of males
Deuteranomaly #2e5ca1 ≈ 4.63% of males
Tritanomaly #00698b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2f5fa2 {
  color: #2f5fa2;
}
Background
.bg-2f5fa2 {
  background-color: #2f5fa2;
  color: #ffffff;
}
Border
.border-2f5fa2 {
  border: 2px solid #2f5fa2;
}
CSS variables
:root {
  --color-primary: #2f5fa2;
  --color-primary-rgb: 47 95 162;
  --color-primary-hsl: 215 55% 41%;
}
Gradient
.gradient-2f5fa2 {
  background: linear-gradient(135deg, #2f5fa2, #392fa2);
}
Colored shadow
.shadow-2f5fa2 {
  box-shadow: 0 8px 24px rgb(47 95 162 / 0.35);
}

Lapis Lazuli
#2f5fa2  rgb(47, 95, 162)  hsl(215, 55%, 41%)  Lapis Lazuli
#a2722f  rgb(162, 114, 47)  hsl(35, 55%, 41%)  Golden Brown
#a22f5f  rgb(162, 47, 95)  hsl(335, 55%, 41%)  Jazzberry Jam
#5fa22f  rgb(95, 162, 47)  hsl(95, 55%, 41%)  Olive Drab