Cobalt
#340887 · Cobalt
#340887 is Cobalt, a cool violet color. It has an RGB value of 52, 8, 135 and a relative luminance of 0.027, making it a dark surface.
Temperature
❄ Cool
Hue family
violet
Luminance
0.03
Conversions
HEX
RGB
HSL
HSV
CMYK
OKLCHPro
Contrast & accessibility
On white
The quick fox
13.72:1
AA normal✓
AA large✓
AAA normal✓
On black
The quick fox
1.53:1
AA normal✕
AA large✕
AAA normal✕
Color harmonies
Complementary
Split-complementary
Shades & tints
Similar named colors
Frequently asked
What is the color #340887?
#340887 is Cobalt, a cool violet color. In RGB it is 52, 8, 135, and in HSL it is 261°, 89%, 28%.
Is #340887 a light or dark color?
#340887 has a relative luminance of 0.027, so it reads as a dark surface. Use light text on top of it for the best contrast.
What colors go well with #340887?
Its complementary color is #5A8708. For softer combinations, try the analogous or split-complementary harmonies shown above.