#254EA4

#254ea4 ≈ Cobalt Blue

  • blue
  • Lightness: low
  • Saturation: moderate
  • Cool

#254ea4 is a color from the blue family, with low lightness and moderate saturation. In the RGB model it is made of 14.51% red, 30.59% green and 64.31% blue; printed in CMYK it uses 77.44% cyan, 52.44% magenta, 0% yellow and 35.69% black. Its hue angle is 220.63°, with 63.18% saturation and 39.41% 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.76:1 (WCAG AAA). The closest named color is Cobalt Blue (#0047ab), ΔE 2.63.

Description generated from the measured properties of this color.

Conversions of #254ea4 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.0852

Readable text 7.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #44517b ≈ 0.001% of males
Protanopia #1459a7 ≈ 1.01% of males
Deuteranopia #004da2 ≈ 1.27% of males
Tritanopia #006371 ≈ 0.0001% of males
Protanomaly #1c55a6 ≈ 1.08% of males
Deuteranomaly #004da3 ≈ 4.63% of males
Tritanomaly #005b88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-254ea4 {
  color: #254ea4;
}
Background
.bg-254ea4 {
  background-color: #254ea4;
  color: #ffffff;
}
Border
.border-254ea4 {
  border: 2px solid #254ea4;
}
CSS variables
:root {
  --color-primary: #254ea4;
  --color-primary-rgb: 37 78 164;
  --color-primary-hsl: 221 63% 39%;
}
Gradient
.gradient-254ea4 {
  background: linear-gradient(135deg, #254ea4, #3c25a4);
}
Colored shadow
.shadow-254ea4 {
  box-shadow: 0 8px 24px rgb(37 78 164 / 0.35);
}

Cobalt Blue
#254ea4  rgb(37, 78, 164)  hsl(221, 63%, 39%)  Cobalt Blue
#a47b25  rgb(164, 123, 37)  hsl(41, 63%, 39%)  Dark Goldenrod
#a4254e  rgb(164, 37, 78)  hsl(341, 63%, 39%)  Jazzberry Jam
#4ea425  rgb(78, 164, 37)  hsl(101, 63%, 39%)  Kelly Green