#6840bb ≈ Ocean Blue
#6840bb is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 40.78% red, 25.1% green and 73.33% blue; printed in CMYK it uses 44.39% cyan, 65.78% magenta, 0% yellow and 26.67% black. Its hue angle is 259.51°, with 49% saturation and 49.22% 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.91:1 (WCAG AA). The closest named color is Ocean Blue (#4f42b5), ΔE 4.43.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.102 |
Shades
#6840bb mixed progressively with black.
Tints
#6840bb mixed progressively with white.
Tones
#6840bb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-6840bb {
color: #6840bb;
}
.bg-6840bb {
background-color: #6840bb;
color: #ffffff;
}
.border-6840bb {
border: 2px solid #6840bb;
}
:root {
--color-primary: #6840bb;
--color-primary-rgb: 104 64 187;
--color-primary-hsl: 260 49% 49%;
}
.gradient-6840bb {
background: linear-gradient(135deg, #6840bb, #a640bb);
}
.shadow-6840bb {
box-shadow: 0 8px 24px rgb(104 64 187 / 0.35);
}
Ocean Blue
#6840bb rgb(104, 64, 187) hsl(260, 49%, 49%) Ocean Blue
#93bb40 rgb(147, 187, 64) hsl(80, 49%, 49%) Apple Green
#bb6840 rgb(187, 104, 64) hsl(20, 49%, 49%) Chocolate
#40bb68 rgb(64, 187, 104) hsl(140, 49%, 49%) Medium Sea Green