#4E54A6

#4e54a6 ≈ Ocean Blue

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

#4e54a6 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 30.59% red, 32.94% green and 65.1% blue; printed in CMYK it uses 53.01% cyan, 49.4% magenta, 0% yellow and 34.9% black. Its hue angle is 235.91°, with 36.07% saturation and 47.84% 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 6.68:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 6.5.

Description generated from the measured properties of this color.

Conversions of #4e54a6 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#666699
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1071

Readable text 6.68:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.14:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5c5c5c ≈ 0.003% of males
Achromatomaly #575980 ≈ 0.001% of males
Protanopia #2e60a9 ≈ 1.01% of males
Deuteranopia #2459a4 ≈ 1.27% of males
Tritanopia #276675 ≈ 0.0001% of males
Protanomaly #3d5ba8 ≈ 1.08% of males
Deuteranomaly #3957a5 ≈ 4.63% of males
Tritanomaly #3a5f8b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e54a6 {
  color: #4e54a6;
}
Background
.bg-4e54a6 {
  background-color: #4e54a6;
  color: #ffffff;
}
Border
.border-4e54a6 {
  border: 2px solid #4e54a6;
}
CSS variables
:root {
  --color-primary: #4e54a6;
  --color-primary-rgb: 78 84 166;
  --color-primary-hsl: 236 36% 48%;
}
Gradient
.gradient-4e54a6 {
  background: linear-gradient(135deg, #4e54a6, #744ea6);
}
Colored shadow
.shadow-4e54a6 {
  box-shadow: 0 8px 24px rgb(78 84 166 / 0.35);
}

Ocean Blue
#4e54a6  rgb(78, 84, 166)  hsl(236, 36%, 48%)  Ocean Blue
#a6a04e  rgb(166, 160, 78)  hsl(56, 36%, 48%)  Brass
#a64e54  rgb(166, 78, 84)  hsl(356, 36%, 48%)  Redwood
#54a64e  rgb(84, 166, 78)  hsl(116, 36%, 48%)  Medium Sea Green