Recognised as Colour
#1F40BA
- #1F40BA
- Blue
- Dark
- Nearest: Slate blue
#1F40BA is a blue with RGB values 31, 64, 186 and HSL 227°, 71%, 43%. It is a dark colour, so white text on it reaches 8.4:1 contrast (AAA for normal text). The nearest named colour is Slate blue.
Colour values
#1F40BA#1F40BA
HEX#1F40BA
RGBrgb(31, 64, 186)
RGB (0–1)0.1216, 0.251, 0.7294
RGB percentages12.2%, 25.1%, 72.9%
HSLhsl(227.2, 71.4%, 42.5%)
HSV / HSBhsv(227.2, 83.3%, 72.9%)
CMYK83.3%, 65.6%, 0%, 27.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,048,186
CSS custom property--colour: #1F40BA;
Brightness & contrast
Relative luminance0.07503WCAG 2.x, 0 is black and 1 is white
Perceived brightness81.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.4:1
Contrast with white8.4:1WCAG normal text: AAA
Contrast with black2.5:1WCAG normal text: Fail
Greyscale equivalent#424242
Inverted#E0BF45
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text8.4:1WCAG large text: AAA
Contrast with black, large text2.5:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#BA991F
Analogous#1F8DBA, #4C1FBA
Triadic#BA1F40, #40BA1F
Split complementary#BA4C1F, #8DBA1F
Tetradic#BA1F8E, #BA991F, #1FBA4C
Tints, shades & saturation
Channel breakdown
R31
G64
B186
Red31 (12.2%)
Green64 (25.1%)
Blue186 (72.9%)
Hue227.23°
Saturation (HSL)71.43%
Lightness42.55%
Dominant channelBlue
Hex per channelR 1F · G 40 · B BA
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