Recognised as Colour
#5128FF
- #5128FF
- Blue
- Dark
- Nearest: Blue
#5128FF is a blue with RGB values 81, 40, 255 and HSL 251°, 100%, 58%. It is a dark colour, so white text on it reaches 6.8:1 contrast (AA for normal text). The nearest named colour is Blue.
Colour values
#5128FF#5128FF
HEX#5128FF
RGBrgb(81, 40, 255)
RGB (0–1)0.3176, 0.1569, 1
RGB percentages31.8%, 15.7%, 100%
HSLhsl(251.4, 100%, 57.8%)
HSV / HSBhsv(251.4, 84.3%, 100%)
CMYK68.2%, 84.3%, 0%, 0%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,318,911
CSS custom property--colour: #5128FF;
Brightness & contrast
Relative luminance0.10487WCAG 2.x, 0 is black and 1 is white
Perceived brightness101.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.78:1
Contrast with white6.78:1WCAG normal text: AA
Contrast with black3.1:1WCAG normal text: Fail
Greyscale equivalent#404040
Inverted#AED700
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.78:1WCAG large text: AAA
Contrast with black, large text3.1:1WCAG large text: AA
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#D6FF28
Analogous#286AFF, #BD28FF
Triadic#FF5128, #28FF51
Split complementary#FFBD28, #6AFF28
Tetradic#FF286A, #D6FF28, #28FFBD
Tints, shades & saturation
Channel breakdown
R81
G40
B255
Red81 (31.8%)
Green40 (15.7%)
Blue255 (100%)
Hue251.44°
Saturation (HSL)100%
Lightness57.84%
Dominant channelBlue
Hex per channelR 51 · G 28 · 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