ilovecolor
Cobalt

#340688 · Cobalt

#340688 is Cobalt, a cool violet color. It has an RGB value of 52, 6, 136 and a relative luminance of 0.026, 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.75:1
AA normal
AA large
AAA normal
On black
The quick fox
1.53:1
AA normal
AA large
AAA normal

Color harmonies

Shades & tints

Similar named colors

Frequently asked

What is the color #340688?

#340688 is Cobalt, a cool violet color. In RGB it is 52, 6, 136, and in HSL it is 261°, 92%, 28%.

Is #340688 a light or dark color?

#340688 has a relative luminance of 0.026, so it reads as a dark surface. Use light text on top of it for the best contrast.

What colors go well with #340688?

Its complementary color is #5B8906. For softer combinations, try the analogous or split-complementary harmonies shown above.