#254AA7

#254aa7 ≈ Cobalt Blue

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

#254aa7 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 14.51% red, 29.02% green and 65.49% blue; printed in CMYK it uses 77.84% cyan, 55.69% magenta, 0% yellow and 34.51% black. Its hue angle is 222.92°, with 63.73% saturation and 40% 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.03:1 (WCAG AAA). The closest named color is Cobalt Blue (#0047ab), ΔE 1.92.

Description generated from the measured properties of this color.

Conversions of #254aa7 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.0808

Readable text 8.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #434e7c ≈ 0.001% of males
Protanopia #0057aa ≈ 1.01% of males
Deuteranopia #004ba5 ≈ 1.27% of males
Tritanopia #006171 ≈ 0.0001% of males
Protanomaly #0f52a9 ≈ 1.08% of males
Deuteranomaly #004aa6 ≈ 4.63% of males
Tritanomaly #00598a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-254aa7 {
  color: #254aa7;
}
Background
.bg-254aa7 {
  background-color: #254aa7;
  color: #ffffff;
}
Border
.border-254aa7 {
  border: 2px solid #254aa7;
}
CSS variables
:root {
  --color-primary: #254aa7;
  --color-primary-rgb: 37 74 167;
  --color-primary-hsl: 223 64% 40%;
}
Gradient
.gradient-254aa7 {
  background: linear-gradient(135deg, #254aa7, #4125a7);
}
Colored shadow
.shadow-254aa7 {
  box-shadow: 0 8px 24px rgb(37 74 167 / 0.35);
}

Cobalt Blue
#254aa7  rgb(37, 74, 167)  hsl(223, 64%, 40%)  Cobalt Blue
#a78225  rgb(167, 130, 37)  hsl(43, 64%, 40%)  Dark Goldenrod
#a7254a  rgb(167, 37, 74)  hsl(343, 64%, 40%)  Vivid Burgundy
#4aa725  rgb(74, 167, 37)  hsl(103, 64%, 40%)  Kelly Green