#513FA7

#513fa7 ≈ Ocean Blue

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

#513fa7 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 31.76% red, 24.71% green and 65.49% blue; printed in CMYK it uses 51.5% cyan, 62.28% magenta, 0% yellow and 34.51% black. Its hue angle is 250.38°, with 45.22% saturation and 45.1% 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 8.02:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 2.32.

Description generated from the measured properties of this color.

Conversions of #513fa7 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#663399
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 #514a7c ≈ 0.001% of males
Protanopia #0053aa ≈ 1.01% of males
Deuteranopia #004da5 ≈ 1.27% of males
Tritanopia #31586d ≈ 0.0001% of males
Protanomaly #2b4ca9 ≈ 1.08% of males
Deuteranomaly #2b48a6 ≈ 4.63% of males
Tritanomaly #404f88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-513fa7 {
  color: #513fa7;
}
Background
.bg-513fa7 {
  background-color: #513fa7;
  color: #ffffff;
}
Border
.border-513fa7 {
  border: 2px solid #513fa7;
}
CSS variables
:root {
  --color-primary: #513fa7;
  --color-primary-rgb: 81 63 167;
  --color-primary-hsl: 250 45% 45%;
}
Gradient
.gradient-513fa7 {
  background: linear-gradient(135deg, #513fa7, #853fa7);
}
Colored shadow
.shadow-513fa7 {
  box-shadow: 0 8px 24px rgb(81 63 167 / 0.35);
}

Ocean Blue
#513fa7  rgb(81, 63, 167)  hsl(250, 45%, 45%)  Ocean Blue
#95a73f  rgb(149, 167, 63)  hsl(70, 45%, 45%)  Apple Green
#a7513f  rgb(167, 81, 63)  hsl(10, 45%, 45%)  Redwood
#3fa751  rgb(63, 167, 81)  hsl(130, 45%, 45%)  Medium Sea Green