#513fa7 ≈ Ocean Blue
#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.
| 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 luminance | 0.0809 |
Shades
#513fa7 mixed progressively with black.
Tints
#513fa7 mixed progressively with white.
Tones
#513fa7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-513fa7 {
color: #513fa7;
}
.bg-513fa7 {
background-color: #513fa7;
color: #ffffff;
}
.border-513fa7 {
border: 2px solid #513fa7;
}
:root {
--color-primary: #513fa7;
--color-primary-rgb: 81 63 167;
--color-primary-hsl: 250 45% 45%;
}
.gradient-513fa7 {
background: linear-gradient(135deg, #513fa7, #853fa7);
}
.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