#274EA5

#274ea5 ≈ Cobalt Blue

  • blue
  • Lightness: medium
  • Saturation: moderate
  • Cool

#274ea5 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 15.29% red, 30.59% green and 64.71% blue; printed in CMYK it uses 76.36% cyan, 52.73% magenta, 0% yellow and 35.29% black. Its hue angle is 221.43°, with 61.76% 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 7.72:1 (WCAG AAA). The closest named color is Cobalt Blue (#0047ab), ΔE 2.67.

Description generated from the measured properties of this color.

Conversions of #274ea5 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.086

Readable text 7.72:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #45517c ≈ 0.001% of males
Protanopia #1259a8 ≈ 1.01% of males
Deuteranopia #004da3 ≈ 1.27% of males
Tritanopia #006372 ≈ 0.0001% of males
Protanomaly #1c55a7 ≈ 1.08% of males
Deuteranomaly #024ea4 ≈ 4.63% of males
Tritanomaly #005b89 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-274ea5 {
  color: #274ea5;
}
Background
.bg-274ea5 {
  background-color: #274ea5;
  color: #ffffff;
}
Border
.border-274ea5 {
  border: 2px solid #274ea5;
}
CSS variables
:root {
  --color-primary: #274ea5;
  --color-primary-rgb: 39 78 165;
  --color-primary-hsl: 221 62% 40%;
}
Gradient
.gradient-274ea5 {
  background: linear-gradient(135deg, #274ea5, #3f27a5);
}
Colored shadow
.shadow-274ea5 {
  box-shadow: 0 8px 24px rgb(39 78 165 / 0.35);
}

Cobalt Blue
#274ea5  rgb(39, 78, 165)  hsl(221, 62%, 40%)  Cobalt Blue
#a57e27  rgb(165, 126, 39)  hsl(41, 62%, 40%)  Dark Goldenrod
#a5274e  rgb(165, 39, 78)  hsl(341, 62%, 40%)  Jazzberry Jam
#4ea527  rgb(78, 165, 39)  hsl(101, 62%, 40%)  Kelly Green