Recognised as Colour
#2871F5
- #2871F5
- Blue
- Dark
- Nearest: Royal blue
#2871F5 is a blue with RGB values 40, 113, 245 and HSL 219°, 91%, 56%. It is a dark colour, so black text on it reaches 4.8:1 contrast (AA for normal text). The nearest named colour is Royal blue.
Colour values
#2871F5#2871F5
HEX#2871F5
RGBrgb(40, 113, 245)
RGB (0–1)0.1569, 0.4431, 0.9608
RGB percentages15.7%, 44.3%, 96.1%
HSLhsl(218.6, 91.1%, 55.9%)
HSV / HSBhsv(218.6, 83.7%, 96.1%)
CMYK83.7%, 53.9%, 0%, 3.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,650,613
CSS custom property--colour: #2871F5;
Brightness & contrast
Relative luminance0.18854WCAG 2.x, 0 is black and 1 is white
Perceived brightness121.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 4.77:1
Contrast with white4.4:1WCAG normal text: Fail
Contrast with black4.77:1WCAG normal text: AA
Greyscale equivalent#6B6B6B
Inverted#D78E0A
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.4:1WCAG large text: AA
Contrast with black, large text4.77:1WCAG large text: AAA
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#F5AC28
Analogous#28D8F5, #4528F5
Triadic#F52871, #71F528
Split complementary#F54628, #D8F528
Tetradic#F528D8, #F5AC28, #28F545
Tints, shades & saturation
Channel breakdown
R40
G113
B245
Red40 (15.7%)
Green113 (44.3%)
Blue245 (96.1%)
Hue218.63°
Saturation (HSL)91.11%
Lightness55.88%
Dominant channelBlue
Hex per channelR 28 · G 71 · B F5
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