Nerdulator> put something in

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

Protanopia#0059CFno red cones; affects about 1% of men; ΔE 26.6 from the original
Deuteranopia#004FC8no green cones; the most common form, about 1% of men; ΔE 22.2 from the original
Tritanopia#00617Eno blue cones; rare, and affects men and women equally; ΔE 80.4 from the original
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

Nearest named CSS colourMedium slateblue (#7B68EE)ΔE 20.14, a distinctly different colour
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

Lighter +40%#DEDAF5
Lighter +30%#BBB1EB
Lighter +20%#9889E0
Lighter +10%#7460D6
Darker −10%#402BA5
Darker −20%#30217C
Darker −30%#211654
Darker −40%#110B2C
More saturated +25%#3C19EA
Less saturated −25%#6657AC

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “5138cb” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.