Recognised as Colour
#5138CB
- #5138CB
- Blue
- Dark
- Nearest: Medium slateblue
#5138CB is a blue with RGB values 81, 56, 203 and HSL 250°, 59%, 51%. It is a dark colour, so white text on it reaches 7.6:1 contrast (AAA for normal text). The nearest named colour is Medium slateblue.
Colour values
#5138CB#5138CB
HEX#5138CB
RGBrgb(81, 56, 203)
RGB (0–1)0.3176, 0.2196, 0.7961
RGB percentages31.8%, 22%, 79.6%
HSLhsl(250.2, 58.6%, 50.8%)
HSV / HSBhsv(250.2, 72.4%, 79.6%)
CMYK60.1%, 72.4%, 0%, 20.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,322,955
CSS custom property--colour: #5138CB;
Brightness & contrast
Relative luminance0.08889WCAG 2.x, 0 is black and 1 is white
Perceived brightness92.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.56:1
Contrast with white7.56:1WCAG normal text: AAA
Contrast with black2.78:1WCAG normal text: Fail
Greyscale equivalent#484848
Inverted#AEC734
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.56:1WCAG large text: AAA
Contrast with black, large text2.78:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#B2CB38
Analogous#3869CB, #9A38CB
Triadic#CB5138, #38CB51
Split complementary#CB9B38, #68CB38
Tetradic#CB3869, #B2CB38, #38CB9A
Tints, shades & saturation
Channel breakdown
R81
G56
B203
Red81 (31.8%)
Green56 (22%)
Blue203 (79.6%)
Hue250.2°
Saturation (HSL)58.57%
Lightness50.78%
Dominant channelBlue
Hex per channelR 51 · G 38 · B CB
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