#604FA8

#604fa8 ≈ Ocean Blue

  • violet
  • Lightness: medium
  • Saturation: moderate
  • Cool

#604fa8 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 37.65% red, 30.98% green and 65.88% blue; printed in CMYK it uses 42.86% cyan, 52.98% magenta, 0% yellow and 34.12% black. Its hue angle is 251.46°, with 36.03% saturation and 48.43% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 6.6:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.28.

Description generated from the measured properties of this color.

Conversions of #604fa8 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.1091

Readable text 6.6:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.18:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5d5d5d ≈ 0.003% of males
Achromatomaly #5e5882 ≈ 0.001% of males
Protanopia #275fab ≈ 1.01% of males
Deuteranopia #285ba6 ≈ 1.27% of males
Tritanopia #4b6274 ≈ 0.0001% of males
Protanomaly #4559aa ≈ 1.08% of males
Deuteranomaly #4556a7 ≈ 4.63% of males
Tritanomaly #545b8c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-604fa8 {
  color: #604fa8;
}
Background
.bg-604fa8 {
  background-color: #604fa8;
  color: #ffffff;
}
Border
.border-604fa8 {
  border: 2px solid #604fa8;
}
CSS variables
:root {
  --color-primary: #604fa8;
  --color-primary-rgb: 96 79 168;
  --color-primary-hsl: 251 36% 48%;
}
Gradient
.gradient-604fa8 {
  background: linear-gradient(135deg, #604fa8, #8c4fa8);
}
Colored shadow
.shadow-604fa8 {
  box-shadow: 0 8px 24px rgb(96 79 168 / 0.35);
}

Ocean Blue
#604fa8  rgb(96, 79, 168)  hsl(251, 36%, 48%)  Ocean Blue
#97a84f  rgb(151, 168, 79)  hsl(71, 36%, 48%)  Moss Green
#a8604f  rgb(168, 96, 79)  hsl(11, 36%, 48%)  Redwood
#4fa860  rgb(79, 168, 96)  hsl(131, 36%, 48%)  Medium Sea Green