#4245A4

#4245a4 ≈ Ocean Blue

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

#4245a4 is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 25.88% red, 27.06% green and 64.31% blue; printed in CMYK it uses 59.76% cyan, 57.93% magenta, 0% yellow and 35.69% black. Its hue angle is 238.16°, with 42.61% saturation and 45.1% 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 8.02:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.73.

Description generated from the measured properties of this color.

Conversions of #4245a4 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.0809

Readable text 8.02:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #4b4c7b ≈ 0.001% of males
Protanopia #0055a7 ≈ 1.01% of males
Deuteranopia #004ca2 ≈ 1.27% of males
Tritanopia #005c6d ≈ 0.0001% of males
Protanomaly #254fa6 ≈ 1.08% of males
Deuteranomaly #1f49a3 ≈ 4.63% of males
Tritanomaly #275387 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4245a4 {
  color: #4245a4;
}
Background
.bg-4245a4 {
  background-color: #4245a4;
  color: #ffffff;
}
Border
.border-4245a4 {
  border: 2px solid #4245a4;
}
CSS variables
:root {
  --color-primary: #4245a4;
  --color-primary-rgb: 66 69 164;
  --color-primary-hsl: 238 43% 45%;
}
Gradient
.gradient-4245a4 {
  background: linear-gradient(135deg, #4245a4, #7042a4);
}
Colored shadow
.shadow-4245a4 {
  box-shadow: 0 8px 24px rgb(66 69 164 / 0.35);
}

Ocean Blue
#4245a4  rgb(66, 69, 164)  hsl(238, 43%, 45%)  Ocean Blue
#a4a142  rgb(164, 161, 66)  hsl(58, 43%, 45%)  Brass
#a44245  rgb(164, 66, 69)  hsl(358, 43%, 45%)  Cordovan
#45a442  rgb(69, 164, 66)  hsl(118, 43%, 45%)  Medium Sea Green