Recognised as Colour
#5152EB
- #5152EB
- Blue
- Dark
- Nearest: Medium slateblue
#5152EB is a blue with RGB values 81, 82, 235 and HSL 240°, 79%, 62%. It is a dark colour, so white text on it reaches 5.6:1 contrast (AA for normal text). The nearest named colour is Medium slateblue.
Colour values
#5152EB#5152EB
HEX#5152EB
RGBrgb(81, 82, 235)
RGB (0–1)0.3176, 0.3216, 0.9216
RGB percentages31.8%, 32.2%, 92.2%
HSLhsl(239.6, 79.4%, 62%)
HSV / HSBhsv(239.6, 65.5%, 92.2%)
CMYK65.5%, 65.1%, 0%, 7.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,329,643
CSS custom property--colour: #5152EB;
Brightness & contrast
Relative luminance0.13782WCAG 2.x, 0 is black and 1 is white
Perceived brightness110.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.59:1
Contrast with white5.59:1WCAG normal text: AA
Contrast with black3.76:1WCAG normal text: Fail
Greyscale equivalent#5D5D5D
Inverted#AEAD14
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.59:1WCAG large text: AAA
Contrast with black, large text3.76:1WCAG large text: AA
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#EBEA51
Analogous#519FEB, #9D51EB
Triadic#EB5152, #52EB51
Split complementary#EB9D51, #9FEB51
Tetradic#EB519F, #EBEA51, #51EB9D
Tints, shades & saturation
Channel breakdown
R81
G82
B235
Red81 (31.8%)
Green82 (32.2%)
Blue235 (92.2%)
Hue239.61°
Saturation (HSL)79.38%
Lightness61.96%
Dominant channelBlue
Hex per channelR 51 · G 52 · B EB
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