#4045AF

#4045af ≈ Ocean Blue

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

#4045af is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 25.1% red, 27.06% green and 68.63% blue; printed in CMYK it uses 63.43% cyan, 60.57% magenta, 0% yellow and 31.37% black. Its hue angle is 237.3°, with 46.44% saturation and 46.86% 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.81:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 2.93.

Description generated from the measured properties of this color.

Conversions of #4045af 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.0844

Readable text 7.81:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #4b4d82 ≈ 0.001% of males
Protanopia #0057b2 ≈ 1.01% of males
Deuteranopia #004dad ≈ 1.27% of males
Tritanopia #005f73 ≈ 0.0001% of males
Protanomaly #1a50b1 ≈ 1.08% of males
Deuteranomaly #0d4aae ≈ 4.63% of males
Tritanomaly #1a568f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4045af {
  color: #4045af;
}
Background
.bg-4045af {
  background-color: #4045af;
  color: #ffffff;
}
Border
.border-4045af {
  border: 2px solid #4045af;
}
CSS variables
:root {
  --color-primary: #4045af;
  --color-primary-rgb: 64 69 175;
  --color-primary-hsl: 237 46% 47%;
}
Gradient
.gradient-4045af {
  background: linear-gradient(135deg, #4045af, #7240af);
}
Colored shadow
.shadow-4045af {
  box-shadow: 0 8px 24px rgb(64 69 175 / 0.35);
}

Ocean Blue
#4045af  rgb(64, 69, 175)  hsl(237, 46%, 47%)  Ocean Blue
#afaa40  rgb(175, 170, 64)  hsl(57, 46%, 47%)  Brass
#af4045  rgb(175, 64, 69)  hsl(357, 46%, 47%)  Cardinal
#45af40  rgb(69, 175, 64)  hsl(117, 46%, 47%)  Kelly Green