#274EA8

#274ea8 ≈ Cobalt Blue

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

#274ea8 is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 15.29% red, 30.59% green and 65.88% blue; printed in CMYK it uses 76.79% cyan, 53.57% magenta, 0% yellow and 34.12% black. Its hue angle is 221.86°, with 62.32% saturation and 40.59% 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.66:1 (WCAG AAA). The closest named color is Cobalt Blue (#0047ab), ΔE 2.61.

Description generated from the measured properties of this color.

Conversions of #274ea8 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.0871

Readable text 7.66:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #45517e ≈ 0.001% of males
Protanopia #0a5aab ≈ 1.01% of males
Deuteranopia #004ea6 ≈ 1.27% of males
Tritanopia #006473 ≈ 0.0001% of males
Protanomaly #1955aa ≈ 1.08% of males
Deuteranomaly #004ea7 ≈ 4.63% of males
Tritanomaly #005c8b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-274ea8 {
  color: #274ea8;
}
Background
.bg-274ea8 {
  background-color: #274ea8;
  color: #ffffff;
}
Border
.border-274ea8 {
  border: 2px solid #274ea8;
}
CSS variables
:root {
  --color-primary: #274ea8;
  --color-primary-rgb: 39 78 168;
  --color-primary-hsl: 222 62% 41%;
}
Gradient
.gradient-274ea8 {
  background: linear-gradient(135deg, #274ea8, #4127a8);
}
Colored shadow
.shadow-274ea8 {
  box-shadow: 0 8px 24px rgb(39 78 168 / 0.35);
}

Cobalt Blue
#274ea8  rgb(39, 78, 168)  hsl(222, 62%, 41%)  Cobalt Blue
#a88127  rgb(168, 129, 39)  hsl(42, 62%, 41%)  Dark Goldenrod
#a8274e  rgb(168, 39, 78)  hsl(342, 62%, 41%)  Vivid Burgundy
#4ea827  rgb(78, 168, 39)  hsl(102, 62%, 41%)  Kelly Green