Recognised as Colour
#2040B7
- #2040B7
- Blue
- Dark
- Nearest: Slate blue
#2040B7 is a blue with RGB values 32, 64, 183 and HSL 227°, 70%, 42%. It is a dark colour, so white text on it reaches 8.5:1 contrast (AAA for normal text). The nearest named colour is Slate blue.
Colour values
#2040B7#2040B7
HEX#2040B7
RGBrgb(32, 64, 183)
RGB (0–1)0.1255, 0.251, 0.7176
RGB percentages12.5%, 25.1%, 71.8%
HSLhsl(227.3, 70.2%, 42.2%)
HSV / HSBhsv(227.3, 82.5%, 71.8%)
CMYK82.5%, 65%, 0%, 28.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,113,719
CSS custom property--colour: #2040B7;
Brightness & contrast
Relative luminance0.07393WCAG 2.x, 0 is black and 1 is white
Perceived brightness80.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.47:1
Contrast with white8.47:1WCAG normal text: AAA
Contrast with black2.48:1WCAG normal text: Fail
Greyscale equivalent#424242
Inverted#DFBF48
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text8.47:1WCAG large text: AAA
Contrast with black, large text2.48:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#B79720
Analogous#208BB7, #4C20B7
Triadic#B72040, #40B720
Split complementary#B74C20, #8BB720
Tetradic#B7208B, #B79720, #20B74C
Tints, shades & saturation
Channel breakdown
R32
G64
B183
Red32 (12.5%)
Green64 (25.1%)
Blue183 (71.8%)
Hue227.28°
Saturation (HSL)70.23%
Lightness42.16%
Dominant channelBlue
Hex per channelR 20 · G 40 · B B7
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