Recognised as Colour
#5157D0
- #5157D0
- Blue
- Dark
- Nearest: Slate blue
#5157D0 is a blue with RGB values 81, 87, 208 and HSL 237°, 57%, 57%. It is a dark colour, so white text on it reaches 5.8:1 contrast (AA for normal text). The nearest named colour is Slate blue.
Colour values
#5157D0#5157D0
HEX#5157D0
RGBrgb(81, 87, 208)
RGB (0–1)0.3176, 0.3412, 0.8157
RGB percentages31.8%, 34.1%, 81.6%
HSLhsl(237.2, 57.5%, 56.7%)
HSV / HSBhsv(237.2, 61.1%, 81.6%)
CMYK61.1%, 58.2%, 0%, 18.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,330,896
CSS custom property--colour: #5157D0;
Brightness & contrast
Relative luminance0.1312WCAG 2.x, 0 is black and 1 is white
Perceived brightness106.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.79:1
Contrast with white5.79:1WCAG normal text: AA
Contrast with black3.62:1WCAG normal text: Fail
Greyscale equivalent#5E5E5E
Inverted#AEA82F
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.79:1WCAG large text: AAA
Contrast with black, large text3.62:1WCAG large text: AA
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#D0CA51
Analogous#5197D0, #8A51D0
Triadic#D05157, #57D051
Split complementary#D08B51, #96D051
Tetradic#D05197, #D0CA51, #51D08B
Tints, shades & saturation
Channel breakdown
R81
G87
B208
Red81 (31.8%)
Green87 (34.1%)
Blue208 (81.6%)
Hue237.17°
Saturation (HSL)57.47%
Lightness56.67%
Dominant channelBlue
Hex per channelR 51 · G 57 · B D0
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