Recognised as Colour
#6840FF
- #6840FF
- Blue
- Dark
- Nearest: Blue violet
#6840FF is a blue with RGB values 104, 64, 255 and HSL 253°, 100%, 63%. It is a dark colour, so white text on it reaches 5.6:1 contrast (AA for normal text). The nearest named colour is Blue violet.
Colour values
#6840FF#6840FF
HEX#6840FF
RGBrgb(104, 64, 255)
RGB (0–1)0.4078, 0.251, 1
RGB percentages40.8%, 25.1%, 100%
HSLhsl(252.6, 100%, 62.5%)
HSV / HSBhsv(252.6, 74.9%, 100%)
CMYK59.2%, 74.9%, 0%, 0%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer6,832,383
CSS custom property--colour: #6840FF;
Brightness & contrast
Relative luminance0.1383WCAG 2.x, 0 is black and 1 is white
Perceived brightness114.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.58:1
Contrast with white5.58:1WCAG normal text: AA
Contrast with black3.77:1WCAG normal text: Fail
Greyscale equivalent#565656
Inverted#97BF00
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.58:1WCAG large text: AAA
Contrast with black, large text3.77:1WCAG large text: AA
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#D7FF40
Analogous#4078FF, #C740FF
Triadic#FF6840, #40FF68
Split complementary#FFC740, #78FF40
Tetradic#FF4078, #D7FF40, #40FFC7
Tints, shades & saturation
Channel breakdown
R104
G64
B255
Red104 (40.8%)
Green64 (25.1%)
Blue255 (100%)
Hue252.57°
Saturation (HSL)100%
Lightness62.55%
Dominant channelBlue
Hex per channelR 68 · G 40 · B FF
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page