Cobalt
#340788 · Cobalt
#340788 is Cobalt, a cool violet color. It has an RGB value of 52, 7, 136 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.71: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 #340788?
#340788 is Cobalt, a cool violet color. In RGB it is 52, 7, 136, and in HSL it is 261°, 90%, 28%.
Is #340788 a light or dark color?
#340788 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 #340788?
Its complementary color is #5B8807. For softer combinations, try the analogous or split-complementary harmonies shown above.