Recognised as Colour
#6240CD
- #6240CD
- Blue
- Dark
- Nearest: Medium slateblue
#6240CD is a blue with RGB values 98, 64, 205 and HSL 254°, 59%, 53%. It is a dark colour, so white text on it reaches 6.7:1 contrast (AA for normal text). The nearest named colour is Medium slateblue.
Colour values
#6240CD#6240CD
HEX#6240CD
RGBrgb(98, 64, 205)
RGB (0–1)0.3843, 0.251, 0.8039
RGB percentages38.4%, 25.1%, 80.4%
HSLhsl(254.5, 58.5%, 52.7%)
HSV / HSBhsv(254.5, 68.8%, 80.4%)
CMYK52.2%, 68.8%, 0%, 19.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer6,439,117
CSS custom property--colour: #6240CD;
Brightness & contrast
Relative luminance0.10671WCAG 2.x, 0 is black and 1 is white
Perceived brightness100.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.7:1
Contrast with white6.7:1WCAG normal text: AA
Contrast with black3.13:1WCAG normal text: Fail
Greyscale equivalent#515151
Inverted#9DBF32
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.7:1WCAG large text: AAA
Contrast with black, large text3.13:1WCAG large text: AA
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#ABCD40
Analogous#4064CD, #A940CD
Triadic#CD6240, #40CD62
Split complementary#CDA940, #64CD40
Tetradic#CD4064, #ABCD40, #40CDA9
Tints, shades & saturation
Channel breakdown
R98
G64
B205
Red98 (38.4%)
Green64 (25.1%)
Blue205 (80.4%)
Hue254.47°
Saturation (HSL)58.51%
Lightness52.75%
Dominant channelBlue
Hex per channelR 62 · G 40 · B CD
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