#4047CA

#4047ca ≈ Ocean Blue

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

#4047ca is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 25.1% red, 27.84% green and 79.22% blue; printed in CMYK it uses 68.32% cyan, 64.85% magenta, 0% yellow and 20.78% black. Its hue angle is 236.96°, with 56.56% saturation and 52.16% 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.07:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.84.

Description generated from the measured properties of this color.

Conversions of #4047ca into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#3333cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0986

Readable text 7.07:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.97:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #505294 ≈ 0.001% of males
Protanopia #005fce ≈ 1.01% of males
Deuteranopia #0052c7 ≈ 1.27% of males
Tritanopia #006982 ≈ 0.0001% of males
Protanomaly #0056cc ≈ 1.08% of males
Deuteranomaly #004ec9 ≈ 4.63% of males
Tritanomaly #005da4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4047ca {
  color: #4047ca;
}
Background
.bg-4047ca {
  background-color: #4047ca;
  color: #ffffff;
}
Border
.border-4047ca {
  border: 2px solid #4047ca;
}
CSS variables
:root {
  --color-primary: #4047ca;
  --color-primary-rgb: 64 71 202;
  --color-primary-hsl: 237 57% 52%;
}
Gradient
.gradient-4047ca {
  background: linear-gradient(135deg, #4047ca, #7e40ca);
}
Colored shadow
.shadow-4047ca {
  box-shadow: 0 8px 24px rgb(64 71 202 / 0.35);
}

Ocean Blue
#4047ca  rgb(64, 71, 202)  hsl(237, 57%, 52%)  Ocean Blue
#cac340  rgb(202, 195, 64)  hsl(57, 57%, 52%)  Old Gold
#ca4047  rgb(202, 64, 71)  hsl(357, 57%, 52%)  Brick Red
#47ca40  rgb(71, 202, 64)  hsl(117, 57%, 52%)  Lime Green