#252FAF

#252faf ≈ Egyptian Blue

  • blue
  • Lightness: medium
  • Saturation: strong
  • Cool

#252faf is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 14.51% red, 18.43% green and 68.63% blue; printed in CMYK it uses 78.86% cyan, 73.14% magenta, 0% yellow and 31.37% black. Its hue angle is 235.65°, with 65.09% saturation and 41.57% 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 9.98:1 (WCAG AAA). The closest named color is Egyptian Blue (#1034a6), ΔE 2.86.

Description generated from the measured properties of this color.

Conversions of #252faf 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.0552

Readable text 9.98:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.1:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #424242 ≈ 0.003% of males
Achromatomaly #393c7d ≈ 0.001% of males
Protanopia #0049b3 ≈ 1.01% of males
Deuteranopia #003cad ≈ 1.27% of males
Tritanopia #00546c ≈ 0.0001% of males
Protanomaly #0040b1 ≈ 1.08% of males
Deuteranomaly #0037ae ≈ 4.63% of males
Tritanomaly #00488c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-252faf {
  color: #252faf;
}
Background
.bg-252faf {
  background-color: #252faf;
  color: #ffffff;
}
Border
.border-252faf {
  border: 2px solid #252faf;
}
CSS variables
:root {
  --color-primary: #252faf;
  --color-primary-rgb: 37 47 175;
  --color-primary-hsl: 236 65% 42%;
}
Gradient
.gradient-252faf {
  background: linear-gradient(135deg, #252faf, #6025af);
}
Colored shadow
.shadow-252faf {
  box-shadow: 0 8px 24px rgb(37 47 175 / 0.35);
}

Egyptian Blue
#252faf  rgb(37, 47, 175)  hsl(236, 65%, 42%)  Egyptian Blue
#afa525  rgb(175, 165, 37)  hsl(56, 65%, 42%)  Brass
#af252f  rgb(175, 37, 47)  hsl(356, 65%, 42%)  Brown
#2faf25  rgb(47, 175, 37)  hsl(116, 65%, 42%)  Kelly Green