Recognised as Colour
#1F40D9
- #1F40D9
- Blue
- Dark
- Nearest: Medium slateblue
#1F40D9 is a blue with RGB values 31, 64, 217 and HSL 229°, 75%, 49%. It is a dark colour, so white text on it reaches 7.5:1 contrast (AAA for normal text). The nearest named colour is Medium slateblue.
Colour values
#1F40D9#1F40D9
HEX#1F40D9
RGBrgb(31, 64, 217)
RGB (0–1)0.1216, 0.251, 0.851
RGB percentages12.2%, 25.1%, 85.1%
HSLhsl(229.4, 75%, 48.6%)
HSV / HSBhsv(229.4, 85.7%, 85.1%)
CMYK85.7%, 70.5%, 0%, 14.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,048,217
CSS custom property--colour: #1F40D9;
Brightness & contrast
Relative luminance0.08968WCAG 2.x, 0 is black and 1 is white
Perceived brightness89.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.52:1
Contrast with white7.52:1WCAG normal text: AAA
Contrast with black2.79:1WCAG normal text: Fail
Greyscale equivalent#444444
Inverted#E0BF26
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.52:1WCAG large text: AAA
Contrast with black, large text2.79:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#D9B81F
Analogous#1F9DD9, #5B1FD9
Triadic#D91F40, #40D91F
Split complementary#D95B1F, #9DD91F
Tetradic#D91F9D, #D9B81F, #1FD95B
Tints, shades & saturation
Channel breakdown
R31
G64
B217
Red31 (12.2%)
Green64 (25.1%)
Blue217 (85.1%)
Hue229.35°
Saturation (HSL)75%
Lightness48.63%
Dominant channelBlue
Hex per channelR 1F · G 40 · B D9
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