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